Skip to content

Commit

Permalink
TMS-968: Filter empty items from event-array
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Feb 12, 2024
1 parent f1e8d45 commit 5d06f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Formatters/EventzFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,6 @@ protected function get_recurring_manual_events( array $category_ids = null ) : a
}
}, $query->posts );

return $recurring_events;
return array_filter( $recurring_events );
}
}

0 comments on commit 5d06f78

Please sign in to comment.