diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 5aaec56e..8e3c8ded 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -171,11 +171,9 @@ function load_types() */ function view_user_shifts() { - global $ical_shifts; $user = auth()->user(); $session = session(); - $ical_shifts = []; $days = load_days(); $rooms = load_rooms(); $types = load_types();