diff --git a/includes/class-sp-calendar.php b/includes/class-sp-calendar.php index d6dd32ab..a4332735 100644 --- a/includes/class-sp-calendar.php +++ b/includes/class-sp-calendar.php @@ -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; } }