FIX bad check on type of expense report (mandatory status not working)
This commit is contained in:
parent
79ed4bc80b
commit
b54b687464
@ -1103,7 +1103,7 @@ if (empty($reshook))
|
||||
$qty = GETPOST('qty','int');
|
||||
if (empty($qty)) $qty=1;
|
||||
|
||||
if (! $fk_c_type_fees > 0)
|
||||
if (! ($fk_c_type_fees > 0))
|
||||
{
|
||||
$error++;
|
||||
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Type")), null, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user