diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/controller/user_angeltypes_controller.php | 2 | ||||
-rw-r--r-- | includes/model/Shifts_model.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php index cf2c0a3c..f31aeecd 100644 --- a/includes/controller/user_angeltypes_controller.php +++ b/includes/controller/user_angeltypes_controller.php @@ -152,7 +152,7 @@ function user_angeltype_confirm_controller() } if (isset($_REQUEST['confirmed'])) { - $result = UserAngelType_confirm($user_angeltype['id'], $user); + UserAngelType_confirm($user_angeltype['id'], $user); engelsystem_log(sprintf( '%s confirmed for angeltype %s', diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index e2a05c44..b0269362 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -373,8 +373,8 @@ function Shift_signup_allowed( $signup_user, $shift, $angeltype, - $user_angeltype = null, - $user_shifts = null, + $user_angeltype, + $user_shifts, $needed_angeltype, $shift_entries ) { |