Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0

This commit is contained in:
Laurent Destailleur 2024-01-03 17:33:34 +01:00
commit cbadfc061b
2 changed files with 2 additions and 2 deletions

View file

@ -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)) {

View file

@ -231,7 +231,7 @@ if ($resql) {
print '<td class="nobordernopadding">';
print $obj->societe;
print ($obj->societe && ($obj->lastname || $obj->firstname) ? ' / ' : '');
print dolGetFirstLastname($obj->lastname, $obj->firstname);
print dolGetFirstLastname($obj->firstname, $obj->lastname);
print '</td>';
print '<td class="right nobordernopadding nowraponall amount">';