Skip to content

Commit

Permalink
Use strict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar authored Mar 4, 2019
1 parent e29807f commit df93752
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ protected function incrementCounterUpdated($prices, $existingPrice)
foreach ($prices as $price) {
if ($existingPrice['all_groups'] == $price['all_groups']
&& $existingPrice['customer_group_id'] == $price['customer_group_id']
&& (int) $existingPrice['qty'] == (int) $price['qty']
&& (int) $existingPrice['qty'] === (int) $price['qty']
) {
$this->countItemsUpdated++;
continue;
Expand Down

0 comments on commit df93752

Please sign in to comment.