Fix #105 league table displaying zeroes when competition is set and season is all

This commit is contained in:
Brian Miyaji
2015-01-12 17:22:38 +11:00
parent 884ceab450
commit 3a96541407

View File

@@ -117,7 +117,7 @@ class SP_League_Table extends SP_Custom_Post{
);
endif;
if ( $league_id ):
if ( $div_id ):
$args['tax_query'][] = array(
'taxonomy' => 'sp_season',
'field' => 'id',