diff options
Diffstat (limited to 'includes/pages/admin_shifts.php')
-rw-r--r-- | includes/pages/admin_shifts.php | 4 |
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)); |