diff --git a/src/my-calendar-widgets.php b/src/my-calendar-widgets.php index 8eb8c4719..6983fb925 100644 --- a/src/my-calendar-widgets.php +++ b/src/my-calendar-widgets.php @@ -581,6 +581,8 @@ function mc_produce_upcoming_events( $events, $template, $type = 'list', $order $details = mc_load_template( 'event/upcoming', $data ); if ( ! $details ) { $html .= mc_format_upcoming_event( $out, $template, $type ); + } else { + $html .= $details; } }