fix scrutinizer

This commit is contained in:
Florian HENRY 2021-10-21 18:20:07 +02:00
parent 85ec2c408c
commit d4690ddbdd

View File

@ -871,7 +871,7 @@ class Productcustomerprice extends CommonObject
$resultupd = $prodsocpricenew->create($user, 0, $forceupdateaffiliate);
if ($result < 0) {
$error++;
$this->error = $prodsocpriceupd->error;
$this->error = $prodsocpricenew->error;
}
}
}