FIX bad check on type of expense report (mandatory status not working)
This commit is contained in:
parent
20f3af066c
commit
a0206d554e
@ -1120,7 +1120,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