Merge pull request #11870 from hregis/10.0_mc

FIX avoid non numeric warning
This commit is contained in:
Laurent Destailleur 2019-09-14 16:39:40 +02:00 committed by GitHub
commit ace9eb9b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -659,7 +659,7 @@ if (empty($reshook))
}
$qty = GETPOST('qty' . $predef);
$remise_percent = GETPOST('remise_percent' . $predef);
$remise_percent = (GETPOST('remise_percent'.$predef) != '' ? GETPOST('remise_percent'.$predef) : 0);
// Extrafields
$extrafieldsline = new ExtraFields($db);