Fix player list and league table columns

This commit is contained in:
Brian Miyaji
2014-10-19 20:37:21 +11:00
parent 65da8ac047
commit beaa239548
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ if ( isset( $performance ) )
$columns = $performance;
// Explode into array
if ( ! is_array( $columns ) )
if ( null !== $columns && ! is_array( $columns ) )
$columns = explode( ',', $columns );
$list = new SP_Player_List( $id );