Merge branch 'ticket-14739-PackLogistic' into develop

This commit is contained in:
Michael RICOIS 2018-03-22 11:14:49 +01:00
commit c788138241

View File

@ -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