diff options
author | msquare <msquare@notrademark.de> | 2016-12-28 01:09:40 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-12-28 01:09:40 +0100 |
commit | 363cc8f6b534ed6353ffe8acb020ba6e1d3ccff4 (patch) | |
tree | af56a1fc4be754ed009f480ee711f1d791534f95 /includes/view | |
parent | 75945fdbbd0908c31921ce586308863ff467e5fe (diff) |
more performance using union
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/ShiftCalendarRenderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/ShiftCalendarRenderer.php b/includes/view/ShiftCalendarRenderer.php index d8d31bd0..8c348567 100644 --- a/includes/view/ShiftCalendarRenderer.php +++ b/includes/view/ShiftCalendarRenderer.php @@ -157,7 +157,7 @@ class ShiftCalendarRenderer { $shift_entries[$shift['SID']] = []; } foreach ($this->needed_angeltypes as $needed_angeltype) { - $needed_angeltypes[$needed_angeltype['shift_id']][] = $needed_angeltype; + $needed_angeltypes[$needed_angeltype['SID']][] = $needed_angeltype; } foreach ($this->shift_entries as $shift_entry) { $shift_entries[$shift_entry['SID']][] = $shift_entry; |