Fix : dict data too long error
This commit is contained in:
parent
da3ae71a47
commit
92ad656bf0
@ -842,7 +842,7 @@ if (GETPOST('actionadd') || GETPOST('actionmodify'))
|
||||
if ($db->errno() == 'DB_ERROR_RECORD_ALREADY_EXISTS') {
|
||||
setEventMessages($langs->transnoentities("ErrorRecordAlreadyExists"), null, 'errors');
|
||||
} else {
|
||||
dol_print_error($db);
|
||||
setEventMessages($db->error(), null, 'errors');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user