Skip to content

Commit

Permalink
fixed category view in front page
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Burtscher committed Feb 10, 2018
1 parent 443108e commit b63fc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/sc_event-list.php
Expand Up @@ -229,7 +229,7 @@ private function html_event(&$event, &$a, $single_day_only=false) {
}
// event categories
if( $this->is_visible( $a['show_cat'] ) ) {
$out .= '<div class="event-cat">'.esc_attr($this->categories->convert_db_string($event->categories)).'</div>';
$out .= '<div class="event-cat">'.esc_attr(implode(', ', $event->get_category_names())).'</div>';
}
// event content
if( $this->is_visible( $a['show_content'] ) ) {
Expand Down

0 comments on commit b63fc1e

Please sign in to comment.