From 5523b1b58dc51b152b6cab16cc4634b2e7862a98 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sat, 8 Mar 2014 03:35:00 +1100 Subject: [PATCH] Fix PHP < 5.3 error --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 6564ca99..ea15babf 100644 --- a/functions.php +++ b/functions.php @@ -773,6 +773,7 @@ if ( !function_exists( 'sportspress_get_var_calculates' ) ) { if ( !function_exists( 'sportspress_edit_league_table' ) ) { function sportspress_edit_league_table( $columns = array(), $usecolumns = array(), $data = array(), $placeholders = array() ) { + $usecolumns = array_filter( $usecolumns ); ?>
@@ -781,7 +782,7 @@ if ( !function_exists( 'sportspress_edit_league_table' ) ) { $label ): ?>