summaryrefslogtreecommitdiff
path: root/includes/pages/admin_shifts.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-12 20:04:36 +0100
committermsquare <msquare@notrademark.de>2017-12-12 20:04:36 +0100
commitd5631297dc42c06b1695fdb6f65d2b6a4b04c633 (patch)
tree83838e77af3a086bea45f2eedc69e44dcec3d9ad /includes/pages/admin_shifts.php
parent74f3677f19b70bbe6655f2d9d9a42792b22120de (diff)
better logging of needed angeltypes for shifts and rooms
Diffstat (limited to 'includes/pages/admin_shifts.php')
-rw-r--r--includes/pages/admin_shifts.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/pages/admin_shifts.php b/includes/pages/admin_shifts.php
index 223ed074..22ce7635 100644
--- a/includes/pages/admin_shifts.php
+++ b/includes/pages/admin_shifts.php
@@ -338,7 +338,9 @@ function admin_shifts()
$count
]
);
- $needed_angel_types_info[] = $angel_type_source['name'] . ': ' . $count;
+ if($count > 0) {
+ $needed_angel_types_info[] = $angel_type_source['name'] . ': ' . $count;
+ }
}
}
engelsystem_log('Shift needs following angel types: ' . join(', ', $needed_angel_types_info));