diff options
author | msquare <msquare@notrademark.de> | 2016-10-01 10:48:19 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-10-01 10:48:19 +0200 |
commit | d5d2acc7d80920eef5f0ed779a3738a12d5db348 (patch) | |
tree | d2d7eb680c1ecaf72480893bba252ab2d9958804 /includes/model | |
parent | 6dfefc3bb9f054c472156801e37300059444ecc7 (diff) |
improve code style
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; } } |