Commit 0a56b65d authored by jurgenhaas's avatar jurgenhaas Committed by acrollet

Issue #3030484 by jurgenhaas: Monthly unit calender always shows events for all units

parent dbfec5fa
......@@ -78,7 +78,7 @@ class BatCalendarReferenceMonthView extends FormatterBase {
foreach ($items as $delta => $item) {
if ($unit = bat_unit_load($item->unit_id)) {
$unit_names[] = $unit->label();
$unit_ids[] = $unit->unit_id;
$unit_ids[] = $unit->id();
}
if ($type = bat_event_type_load($item->event_type_id)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment