Fix widget outputs

This commit is contained in:
Brian Miyaji
2014-03-25 20:36:57 +11:00
parent 47db92c98e
commit f1f3f1252d
5 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ class SP_Widget_League_Table extends WP_Widget {
if ( $title )
echo $before_title . $title . $after_title;
echo '<div id="sp_league_table_wrap">';
echo sportspress_league_table( $id, array( 'number' => $number, 'columns' => $columns, 'show_full_table_link' => $show_full_table_link, 'show_team_logo' => $show_team_logo ) );
sp_get_template( 'league-table.php', array( 'id' => $id, 'number' => $number, 'columns' => $columns, 'show_full_table_link' => $show_full_table_link, 'show_team_logo' => $show_team_logo ) );
echo '</div>';
echo $after_widget;
}