From 9f224fa4e10affc08292a7a69219ad79d6c17548 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Mon, 24 Apr 2017 18:18:22 -0500 Subject: [PATCH] Fix admin calendar - refs BT#12664 --- main/calendar/agenda.php | 1 + 1 file changed, 1 insertion(+) diff --git a/main/calendar/agenda.php b/main/calendar/agenda.php index f9e296ac99..5ba28f5718 100755 --- a/main/calendar/agenda.php +++ b/main/calendar/agenda.php @@ -85,6 +85,7 @@ if ($type === 'fromjs') { $id_list = explode('_', $eventId); $eventId = $id_list[1]; $event_type = $id_list[0]; + $event_type = $event_type === 'platform' ? 'admin' : $event_type; } $agenda = new Agenda($event_type);