diff options
author | msquare <msquare@notrademark.de> | 2016-10-04 16:16:00 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-10-04 16:16:00 +0200 |
commit | 455e41720068740c523bfc4b15cf30e3811e4281 (patch) | |
tree | 6885da74178d0e995b9bff2610ffe45d1956acdc /includes/pages | |
parent | 51d270db282be5cac9af2993a5c5b2c567d95506 (diff) |
fix variable naming problems
Diffstat (limited to 'includes/pages')
-rw-r--r-- | includes/pages/admin_rooms.php | 2 | ||||
-rw-r--r-- | includes/pages/user_shifts.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php index 7641eb18..61c0a2c0 100644 --- a/includes/pages/admin_rooms.php +++ b/includes/pages/admin_rooms.php @@ -118,7 +118,7 @@ function admin_rooms() { engelsystem_error("Unable to load angeltype."); } if ($angeltype != null) { - NeededAngelType_add(null, $angeltype_id, $room_id, $count); + NeededAngelType_add(null, $angeltype_id, $room_id, $angeltype_count); $needed_angeltype_info[] = $angeltype['name'] . ": " . $angeltype_count; } } 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')); |