summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 9fd306c9..ad211181 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -9,7 +9,7 @@ function shifts_title() {
* Start different controllers for deleting shifts and shift_entries, edit shifts and add shift entries.
*/
function user_shifts() {
- global $user, $privileges;
+ global $user;
if (User_is_freeloader($user)) {
redirect(page_link_to('user_myshifts'));