diff --git a/htdocs/holiday/month_report.php b/htdocs/holiday/month_report.php index 9b611c18852..070220495d6 100644 --- a/htdocs/holiday/month_report.php +++ b/htdocs/holiday/month_report.php @@ -43,7 +43,7 @@ if ($user->socid > 0) { // Protection if external user //$socid = $user->socid; accessforbidden(); } -$result = restrictedArea($user, 'holiday', $id, ''); +$result = restrictedArea($user, 'holiday', $id, '', 'readall'); $action = GETPOST('action', 'aZ09') ?GETPOST('action', 'aZ09') : 'view'; $massaction = GETPOST('massaction', 'alpha');