Fix invalid array issue

This commit is contained in:
Brian Miyaji
2015-03-12 14:23:05 +11:00
parent 6855fb7fc2
commit dad4e3887c

View File

@@ -137,7 +137,7 @@ class SP_League_Table extends SP_Custom_Post{
$static = get_post_meta( $team_id, 'sp_columns', true ); $static = get_post_meta( $team_id, 'sp_columns', true );
// Add static stats to placeholders // Add static stats to placeholders
$placeholders[ $team_id ] = sp_array_value( sp_array_value( $static, $league_id, array() ), $div_id, array() ); $placeholders[ $team_id ] = (array) sp_array_value( sp_array_value( $static, $league_id, array() ), $div_id, array() );
endforeach; endforeach;