diff --git a/adm/tabs/AdminImport.php b/adm/tabs/AdminImport.php index 0e299298..3d58f7b9 100755 --- a/adm/tabs/AdminImport.php +++ b/adm/tabs/AdminImport.php @@ -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