Fix upcoming event template

This commit is contained in:
Nikolai R Kristiansen committed 2018-08-12 22:36:56 +02:00
1 parent 4e43b582f8
commit 221c5241d9
1 file changed
-1
@@ -45,7 +45,6 @@ if ($events->have_posts()) : while ($events->have_posts()) : $events->the_post()
$post->event_types = array();
foreach ($event_array as $event_type) {
$post->event_types[] = $event_type->name;
$post->post_classes[] = 'event-type-' . $event_type->slug;
}
$post->event_types_comma = implode(', ', $post->event_types);