Skip to content

Commit

Permalink
Loaded template not appended to output HTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 31, 2023
1 parent 5167bdb commit 3847033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/my-calendar-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 3847033

Please sign in to comment.