Fixing style errors.
This commit is contained in:
parent
7a22e6f339
commit
6c1289382c
@ -674,7 +674,7 @@ if (empty($reshook)) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
}
|
||||
if ($object->error) {
|
||||
// check again to prevent translation issue,
|
||||
// check again to prevent translation issue,
|
||||
// as error may have been cleared in hook function
|
||||
setEventMessages($langs->trans($object->error), null, 'errors');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user