From cd30017b97afc3c7001fbb9eb14b54dbb980b7b6 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 3 Mar 2017 08:31:25 +0100 Subject: [PATCH] Some fixes --- includes/controller/user_angeltypes_controller.php | 2 +- 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 ) {