Allow negative performance rows for additional details
This commit is contained in:
@@ -186,7 +186,7 @@ if ( is_array( $teams ) ):
|
|||||||
$data = array();
|
$data = array();
|
||||||
foreach ( $performance as $players ) {
|
foreach ( $performance as $players ) {
|
||||||
foreach ( $players as $player_id => $player ) {
|
foreach ( $players as $player_id => $player ) {
|
||||||
if ( $player_id <= 0 ) continue;
|
if ( $player_id == 0 ) continue;
|
||||||
$data[ $player_id ] = $player;
|
$data[ $player_id ] = $player;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user