Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
commit
aaa2ad710c
@ -508,9 +508,10 @@ if (empty($reshook)) {
|
||||
exit;
|
||||
}
|
||||
$mesgs[] = $object->error;
|
||||
$mesgs = array_merge($mesgs, $object->errors);
|
||||
}
|
||||
|
||||
setEventMessages(null, $mesgs, 'errors');
|
||||
setEventMessages('', $mesgs, 'errors');
|
||||
$action = "create";
|
||||
}
|
||||
|
||||
@ -595,9 +596,10 @@ if (empty($reshook)) {
|
||||
exit;
|
||||
}
|
||||
$mesgs[] = $object->error;
|
||||
$mesgs = array_merge($mesgs, $object->errors);
|
||||
}
|
||||
|
||||
setEventMessages($mesg, $mesgs, 'errors');
|
||||
setEventMessages('', $mesgs, 'errors');
|
||||
$action = "edit";
|
||||
} else {
|
||||
$action = "edit";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user