From 430be2e95bf5bce1f5ba2849cf18698d4b16542e Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 18 Sep 2015 11:14:28 +1000 Subject: [PATCH] Allow negative performance rows for additional details --- templates/event-performance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/event-performance.php b/templates/event-performance.php index 01693b24..29e98328 100644 --- a/templates/event-performance.php +++ b/templates/event-performance.php @@ -186,7 +186,7 @@ if ( is_array( $teams ) ): $data = array(); foreach ( $performance as $players ) { foreach ( $players as $player_id => $player ) { - if ( $player_id <= 0 ) continue; + if ( $player_id == 0 ) continue; $data[ $player_id ] = $player; } }