summaryrefslogtreecommitdiff
path: root/includes/model/Shifts_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-20 23:05:46 +0100
committermsquare <msquare@notrademark.de>2017-12-20 23:05:46 +0100
commit2c04e35bed483dfe31eda465345602a117054f44 (patch)
treed9b0fd897ae91b4e3a11010e79715b28c0d8ee8c /includes/model/Shifts_model.php
parent7a3bdda483be2a32cc67bcf97b246edcb48c124e (diff)
introduce new shift signup state for not arrived angels
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r--includes/model/Shifts_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php
index f3bb042a..ad64e9b9 100644
--- a/includes/model/Shifts_model.php
+++ b/includes/model/Shifts_model.php
@@ -312,7 +312,7 @@ function Shift_signup_allowed_angel(
$free_entries = Shift_free_entries($needed_angeltype, $shift_entries);
if (config('signup_requires_arrival') && !$user['Gekommen']) {
- return new ShiftSignupState(ShiftSignupState::SHIFT_ENDED, $free_entries);
+ return new ShiftSignupState(ShiftSignupState::NOT_ARRIVED, $free_entries);
}
if ($user_shifts == null) {