diff --git a/htdocs/product/admin/price_rules.php b/htdocs/product/admin/price_rules.php index d6d494cd61d..76b907e14d4 100644 --- a/htdocs/product/admin/price_rules.php +++ b/htdocs/product/admin/price_rules.php @@ -71,7 +71,7 @@ if ($_POST) { //If the level is between range but percent fields are empty, then we ensure it does not exist in DB if ($check1 && !$check2) { - $db->query("DELETE FROM ".MAIN_DB_PREFIX."product_pricerules WHERE level = ".(int)$i); + $db->query("DELETE FROM ".MAIN_DB_PREFIX."product_pricerules WHERE level = ".(int) $i); } continue;