Fix: Can not set delay to zero.
This commit is contained in:
parent
4b8d39af9d
commit
7e2027ec39
@ -107,7 +107,7 @@ if ($action == 'update')
|
||||
{
|
||||
foreach($delays as $delay)
|
||||
{
|
||||
if (GETPOST($delay['code']))
|
||||
if (GETPOST($delay['code']) != '')
|
||||
{
|
||||
dolibarr_set_const($db, $delay['code'], GETPOST($delay['code']), 'chaine', 0, '', $conf->entity);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user