This commit is contained in:
ldestailleur 2025-09-02 22:48:34 +02:00
parent 5a8aff9e79
commit e415fb7efa

View file

@ -928,7 +928,7 @@ if (empty($reshook)) {
}
if ($id == DICT_PAIEMENT && strlen(GETPOST("code")) >= 6) { // 6 char max on code for payment mode codes
$ok = 0;
setEventMessages($langs->transnoentities("ErrorFieldMustHaveLessThanXChar", $langs->transnoentities("Code"), 6), null, 'errors');
setEventMessages($langs->transnoentities("ErrorFieldMustHaveLessThanXChar", $langs->transnoentities("Code"), '6'), null, 'errors');
}
// Clean some parameters