Fix issue where current post was being displayed as a team in admin

This commit is contained in:
Brian Miyaji
2014-01-09 12:38:40 +11:00
parent 383a34cac3
commit 301142b1d9

View File

@@ -42,6 +42,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
endforeach;
else:
foreach( $teams as $team_id ):
if ( ! $team_id ) continue;
$team = get_post( $team_id );
echo $team->post_title . '<br>';
endforeach;