Skip to content
Snippets Groups Projects
Commit 07e622a7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Introduce () to have code cleaner

parent db7fcffb
No related branches found
No related tags found
No related merge requests found
......@@ -4124,8 +4124,8 @@ class Product extends CommonObject
}
//Little check to make sure the price is modified before triggering generation
$check_amount = $price == $this->multiprices[$i] && ($price_min == $this->multiprices_min[$i]);
$check_type = $baseprice == $this->multiprices_base_type[$i];
$check_amount = (($price == $this->multiprices[$i]) && ($price_min == $this->multiprices_min[$i]));
$check_type = ($baseprice == $this->multiprices_base_type[$i]);
if ($check_amount && $check_type) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment