diff --git a/htdocs/holiday/month_report.php b/htdocs/holiday/month_report.php index 6259b64062e..b6da0427464 100644 --- a/htdocs/holiday/month_report.php +++ b/htdocs/holiday/month_report.php @@ -44,9 +44,9 @@ if ($user->socid > 0) // Protection if external user $result = restrictedArea($user, 'holiday', $id, ''); $action = GETPOST('action', 'aZ09') ?GETPOST('action', 'aZ09') : 'view'; -$massaction = GETPOST('massaction', 'alpha'); +$massaction = GETPOST('massaction', 'alpha'); $contextpage = GETPOST('contextpage', 'aZ'); -$optioncss = GETPOST('optioncss', 'aZ'); +$optioncss = GETPOST('optioncss', 'aZ'); $search_ref = GETPOST('search_ref', 'alpha'); @@ -219,8 +219,7 @@ if ($num == 0) { print ''.$langs->trans('None').''; } -else -{ +else { while ($obj = $db->fetch_object($resql)) { $user = new User($db);