From b63fc1e240f5e56815243d68546909f5ba8d2684 Mon Sep 17 00:00:00 2001 From: Michael Burtscher Date: Sat, 10 Feb 2018 16:33:33 +0100 Subject: [PATCH] fixed category view in front page --- includes/sc_event-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sc_event-list.php b/includes/sc_event-list.php index c7bdd6c..1f0a99e 100644 --- a/includes/sc_event-list.php +++ b/includes/sc_event-list.php @@ -229,7 +229,7 @@ private function html_event(&$event, &$a, $single_day_only=false) { } // event categories if( $this->is_visible( $a['show_cat'] ) ) { - $out .= '
'.esc_attr($this->categories->convert_db_string($event->categories)).'
'; + $out .= '
'.esc_attr(implode(', ', $event->get_category_names())).'
'; } // event content if( $this->is_visible( $a['show_content'] ) ) {