diff options
Diffstat (limited to 'includes/model')
-rw-r--r-- | includes/model/Shifts_model.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index 2f90ae48..a827c6b5 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -61,8 +61,9 @@ function Shift_signup_allowed($shift, $angeltype, $user_angeltype = null, $user_ // you canot join if shift is full foreach ($needed_angeltypes as $needed_angeltype) { if ($needed_angeltype['angel_type_id'] == $angeltype['id']) { - if ($needed_angeltype['taken'] >= $needed_angeltype['count']) + if ($needed_angeltype['taken'] >= $needed_angeltype['count']) { $user_may_join_shift = false; + } break; } } |