diff --git a/src/templates/legacy-functions.php b/src/templates/legacy-functions.php index 6cfd510dc..15bbb1278 100644 --- a/src/templates/legacy-functions.php +++ b/src/templates/legacy-functions.php @@ -103,13 +103,13 @@ function mc_legacy_template_draw_event( $event, $type, $process_date, $time, $te $img = ''; $container_id = mc_event_container_id( $type, $process_date, $event ); - $data = array( + $data = array( 'event' => $event, 'process_date' => $process_date, 'time' => $time, 'id' => $id, 'tags' => $tags, - ); + ); $header = mc_draw_event_header( $data, $type, $template ); $close_button = mc_close_button( $container_id ); $close = '';