Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/expedition/card.php
This commit is contained in:
commit
73790a0958
@ -418,10 +418,8 @@ if (empty($reshook))
|
|||||||
|
|
||||||
$result = $object->valid($user);
|
$result = $object->valid($user);
|
||||||
|
|
||||||
if ($result < 0)
|
if ($result < 0) {
|
||||||
{
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
$langs->load("errors");
|
|
||||||
setEventMessages($langs->trans($object->error), $object->errors, 'errors');
|
|
||||||
} else {
|
} else {
|
||||||
// Define output language
|
// Define output language
|
||||||
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE))
|
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user