Fix quantity
This commit is contained in:
parent
305234f74f
commit
922de8200a
@ -1337,7 +1337,7 @@ class AdminImport extends AdminTab
|
||||
}
|
||||
|
||||
self::array_walk($info, array('AdminImport', 'fillInfo'), $pack);
|
||||
if (($fieldError = $pack->validateFields(UNFRIENDLY_ERROR, true)) === true && is_int($info['qty']))
|
||||
if (($fieldError = $pack->validateFields(UNFRIENDLY_ERROR, true)) === true && is_numeric($info['qty']))
|
||||
{
|
||||
$res = false;
|
||||
// Is product item in pack
|
||||
|
Loading…
Reference in New Issue
Block a user