We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88660e7 commit cab3a07Copy full SHA for cab3a07
app/code/Magento/Rule/Model/Condition/AbstractCondition.php
@@ -886,7 +886,7 @@ public function validateAttribute($validatedValue)
886
protected function _compareValues($validatedValue, $value, $strict = true)
887
{
888
if ($strict && is_numeric($validatedValue) && is_numeric($value)) {
889
- return $validatedValue == $value;
+ return $validatedValue === $value;
890
}
891
892
$validatePattern = preg_quote((string) $validatedValue, '~');
0 commit comments