Move fix to parent function sp_get_main_results()

This commit is contained in:
Nabil Kadimi
2018-06-28 10:08:12 +01:00
committed by GitHub
parent c0cd1b212f
commit c44ed5ecf3

View File

@@ -31,9 +31,6 @@ $link_teams = get_option( 'sportspress_link_teams', 'no' ) === 'yes' ? true : fa
if ( $show_results ) {
$results = sp_get_main_results( $id );
if ( $reverse_teams ) {
$results = array_reverse( $results );
}
if ( empty( $results ) ) {
$show_results = false;
} else {