Fix translation
This commit is contained in:
parent
67f5837072
commit
28f54eeb75
@ -153,7 +153,7 @@ if (empty($reshook))
|
||||
|| (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->id != $fuserid && empty($user->rights->holiday->writeall_advance))
|
||||
) {
|
||||
$error++;
|
||||
setEventMessages($langs->trans("NotEnoughPermission"), null, 'errors');
|
||||
setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors');
|
||||
} else {
|
||||
if (empty($conf->global->MAIN_USE_ADVANCED_PERMS) || empty($user->rights->holiday->writeall_advance)) {
|
||||
if (!in_array($fuserid, $childids)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user