diff --git a/app/code/Magento/Rule/Model/Condition/AbstractCondition.php b/app/code/Magento/Rule/Model/Condition/AbstractCondition.php index e44cced5b42f8..1a025239a3694 100644 --- a/app/code/Magento/Rule/Model/Condition/AbstractCondition.php +++ b/app/code/Magento/Rule/Model/Condition/AbstractCondition.php @@ -886,7 +886,7 @@ public function validateAttribute($validatedValue) protected function _compareValues($validatedValue, $value, $strict = true) { if ($strict && is_numeric($validatedValue) && is_numeric($value)) { - return $validatedValue == $value; + return $validatedValue === $value; } $validatePattern = preg_quote((string) $validatedValue, '~');