Fix league table notice

This commit is contained in:
Brian Miyaji
2014-09-05 17:42:29 +10:00
parent e61fc78beb
commit 700f9300ef

View File

@@ -128,7 +128,7 @@ class SP_League_Table extends SP_Custom_Post{
if ( ! in_array( $team_id, $team_ids ) )
continue;
foreach ( $team_result as $key => $value ):
if ( $team_result ): foreach ( $team_result as $key => $value ):
if ( $key == 'outcome' ):
@@ -180,7 +180,7 @@ class SP_League_Table extends SP_Custom_Post{
endif;
endif;
endforeach;
endforeach; endif;
endforeach;