summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-03-03 08:31:25 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-03-03 08:31:25 +0100
commitcd30017b97afc3c7001fbb9eb14b54dbb980b7b6 (patch)
tree00ef54b16c70a4297ebe4fef59399f6ae4282028
parent37c32ad08fa60d65bac7f4ec760cb0c29a2743cc (diff)
Some fixes
-rw-r--r--includes/controller/user_angeltypes_controller.php2
-rw-r--r--includes/model/Shifts_model.php4
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
) {