diff options
author | msquare <msquare@notrademark.de> | 2016-11-15 21:42:43 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-11-15 21:42:43 +0100 |
commit | 54f3253c32d53bd9642132e45e1c7caab2eae233 (patch) | |
tree | ebde9345d9b1c3dd7e63cc528e655e837cf10500 /includes | |
parent | 3e5316e0c1eb76a01c1f968126309857541e46e4 (diff) |
fix js var names
Diffstat (limited to 'includes')
-rw-r--r-- | includes/controller/shifts_controller.php | 2 | ||||
-rw-r--r-- | includes/view/Shifts_view.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php index 01a7a2f6..f273c097 100644 --- a/includes/controller/shifts_controller.php +++ b/includes/controller/shifts_controller.php @@ -212,7 +212,7 @@ function shift_controller() { return [ $shift['name'], - Shift_view($shift, $shifttype, $room, $angeltypes, $user_shifts, $shift_signup_state) + Shift_view($shift, $shifttype, $room, $angeltypes, $shift_signup_state) ]; } diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index 629f6b2a..885d1ad9 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -28,7 +28,7 @@ function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null, return ''; } -function Shift_view($shift, $shifttype, $room, $angeltypes_source, $user_shifts, ShiftSignupState $shift_signup_state) { +function Shift_view($shift, $shifttype, $room, $angeltypes_source, ShiftSignupState $shift_signup_state) { global $privileges; $shift_admin = in_array('admin_shifts', $privileges); |