Skip to content

Commit

Permalink
Fix php static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
PululuK committed Dec 26, 2023
1 parent 4c1373e commit 098d66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/SpecificPriceRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public static function applyRuleToProduct($id_rule, $id_product, $id_product_att
(int) $rule->from_quantity,
(string) $rule->from,
(string) $rule->to,
(int) $rule->id
$rule->id != 0
);

$specific_price = new SpecificPrice($idSpecificPrice);
Expand Down

0 comments on commit 098d66b

Please sign in to comment.