Fix bad test

This commit is contained in:
Laurent Destailleur
2021-01-23 17:49:08 +01:00
parent f7e637a552
commit 452aea1d8b
54 changed files with 180 additions and 156 deletions

View File

@@ -73,7 +73,7 @@ if ($action == 'setModuleOptions')
if ($param)
{
$res = dolibarr_set_const($db, $param, $value, 'chaine', 0, '', $conf->entity);
if (!$res > 0) $error++;
if (!($res > 0)) $error++;
}
}
}