diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php index 919a32b4c0e..ba7d073018c 100644 --- a/htdocs/admin/contract.php +++ b/htdocs/admin/contract.php @@ -157,7 +157,7 @@ if ($action == 'updateMask') { setEventMessages($langs->trans("Error"), null, 'errors'); } } elseif ($action == "allowonlinesign") { - if (!dolibarr_set_const($db, "CONTRACT_ALLOW_ONLINESIGN", $value, 0, 'int', $conf->entity)) { + if (!dolibarr_set_const($db, "CONTRACT_ALLOW_ONLINESIGN", $value, 'int', 0, '', $conf->entity)) { $error++; } } elseif (preg_match('/set_(.*)/', $action, $reg)) { diff --git a/htdocs/don/index.php b/htdocs/don/index.php index c9075791663..02b5799cb5d 100644 --- a/htdocs/don/index.php +++ b/htdocs/don/index.php @@ -231,7 +231,7 @@ if ($resql) { print '