From 377939224878ac346a792755291cd3868834cff4 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 13 Jan 2017 08:07:20 +1100 Subject: [PATCH] Fix placeholder for player list when no events played --- includes/class-sp-player-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sp-player-list.php b/includes/class-sp-player-list.php index adad6b57..9f2655d0 100644 --- a/includes/class-sp-player-list.php +++ b/includes/class-sp-player-list.php @@ -526,7 +526,7 @@ class SP_Player_List extends SP_Custom_Post { endif; endif; - if ( $placeholder ): + if ( $placeholder !== '' ): $placeholders[ $player_id ][ $stat->post_name ] = sp_array_value( $placeholders[ $player_id ], $stat->post_name, 0 ) + $placeholder; endif; endforeach;