Merge pull request #12764 from hregis/11.0_bug

FIX avoid php warning
This commit is contained in:
Laurent Destailleur 2019-12-30 21:39:43 +01:00 committed by GitHub
commit defe3b20ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1877,6 +1877,9 @@ class Product extends CommonObject
if (empty($newnpr)) {
$newnpr = 0;
}
if (empty($newminprice)) {
$newminprice = 0;
}
// Check parameters
if ($newvat == '') {