Minor
This commit is contained in:
@@ -426,7 +426,7 @@ class SP_Calendar extends SP_Secondary_Post {
|
||||
if ( $this->teams_past ){
|
||||
$events_past = array();
|
||||
foreach ( $events as $single_event ) {
|
||||
if ( sort( get_post_meta( $single_event->ID, 'sp_team' ) )=== sort( $this->teams_past ) ) {
|
||||
if ( sort( get_post_meta( $single_event->ID, 'sp_team' ) ) === sort( $this->teams_past ) ) {
|
||||
$events_past[] = $single_event;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user