From 485df38786834ef93a7ec4ef534e8e7317dd7429 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 1 Jan 2022 17:43:45 +0100 Subject: [PATCH] SHow right count of angels in shift view for additional angeltypes --- includes/view/Shifts_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index 60c54484..171f6462 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -137,7 +137,7 @@ function Shift_view($shift, $shifttype, Room $room, $angeltypes_source, ShiftSig 'TID' => $type, 'count' => 0, 'restricted' => true, - 'taken' => true, + 'taken' => $angelTypes->count(), ], $angeltypes, $shift, $user_shift_admin); } }