Skip to content

Commit

Permalink
Forgotten IF statement...
Browse files Browse the repository at this point in the history
  • Loading branch information
savvasha committed Aug 26, 2020
1 parent 2a38d08 commit 8bf77c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-sp-player-list.php
Expand Up @@ -430,7 +430,7 @@ public function data( $admin = false, $leagues = null, $seasons = null, $team_id

// Add all team performance
if ( is_array( $team_performance ) ): foreach ( $team_performance as $team_id => $players ):
( $team && $team_id != $team ) continue;
if ( $team && $team_id != $team ) continue;
if ( is_array( $players ) ): foreach ( $players as $player_id => $player_performance ):
if ( array_key_exists( $player_id, $totals ) && is_array( $totals[ $player_id ] ) ):

Expand Down

0 comments on commit 8bf77c6

Please sign in to comment.