Fix regression
This commit is contained in:
parent
d97a91b83e
commit
b1132131f3
1 changed files with 1 additions and 1 deletions
|
|
@ -1375,7 +1375,7 @@ if (!$error && ($action == 'updateprice' && $confirm == 'yes') && $permissiontoa
|
|||
}
|
||||
} elseif (getDolGlobalString('PRODUIT_MULTIPRICES')) {
|
||||
$maxlevel = getDolGlobalInt('PRODUIT_MULTIPRICES_LIMIT');
|
||||
for ($level = 1; $level <= $malevel; $level++) {
|
||||
for ($level = 1; $level <= $maxlevel; $level++) {
|
||||
if ($object->price_base_type == 'TTC') {
|
||||
$newprice = $object->multiprices_ttc[$level] * (100 + $pricepercentage) / 100;
|
||||
$minprice = $object->multiprices_min_ttc[$level];
|
||||
|
|
|
|||
Loading…
Reference in a new issue