summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-12-24 17:29:12 +0100
committermsquare <msquare@notrademark.de>2016-12-24 17:29:12 +0100
commit99c7e8ce1a668f567afed2a40d994961b2da0578 (patch)
treecd4357bb24b73826af15475db5e40c3adf8d82b0 /includes/model
parent0c15964e6b32745096b7f650445823c8f2f3be88 (diff)
fixes #298 allow a shift supporter to remove a user from shift
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/NeededAngelTypes_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/NeededAngelTypes_model.php b/includes/model/NeededAngelTypes_model.php
index ba24c6bd..e04ef8b8 100644
--- a/includes/model/NeededAngelTypes_model.php
+++ b/includes/model/NeededAngelTypes_model.php
@@ -57,7 +57,7 @@ function NeededAngelTypes_delete_by_room($room_id) {
*/
function NeededAngelTypes_by_shift($shiftId) {
$needed_angeltypes_source = sql_select("
- SELECT `NeededAngelTypes`.*, `AngelTypes`.`id`, `AngelTypes`.`name`, `AngelTypes`.`restricted`
+ SELECT `NeededAngelTypes`.*, `AngelTypes`.`id`, `AngelTypes`.`name`, `AngelTypes`.`restricted`, `AngelTypes`.`no_self_signup`
FROM `NeededAngelTypes`
JOIN `AngelTypes` ON `AngelTypes`.`id` = `NeededAngelTypes`.`angel_type_id`
WHERE `shift_id`='" . sql_escape($shiftId) . "'