empty is more useful than 0

This commit is contained in:
Bahfir Abbes 2020-08-03 20:42:25 +01:00 committed by GitHub
parent 4900e85fa8
commit 8dd54e24e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1077,7 +1077,7 @@ if ($id > 0 || !empty($ref)) {
while ($i < $nbproduct)
{
print '
jQuery("#qty_0_'.$i.'").val(0);';
jQuery("#qty_0_'.$i.'").val("");';
$i++;
}
print '