diff options
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/Shifts_view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index c2c0912e..765a6f3b 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -12,9 +12,9 @@ function Shift_editor_info_render($shift) { return join('<br />', $info); } -function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null, $user_shifts = null) { +function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null) { global $user; - + if ($user_angeltype == null) { $user_angeltype = UserAngelType_by_User_and_AngelType($user, $angeltype); } |