From 098d66ba647e776c22f18673ea6133d7705840eb Mon Sep 17 00:00:00 2001 From: PululuK Date: Tue, 26 Dec 2023 12:07:30 +0100 Subject: [PATCH] Fix php static analysis --- classes/SpecificPriceRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/SpecificPriceRule.php b/classes/SpecificPriceRule.php index b0312a4fcbb4b..65491e3121c88 100644 --- a/classes/SpecificPriceRule.php +++ b/classes/SpecificPriceRule.php @@ -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);