diff --git a/includes/admin/post-types/class-sp-admin-cpt-table.php b/includes/admin/post-types/class-sp-admin-cpt-table.php index 7ac04f52..3191e2bf 100644 --- a/includes/admin/post-types/class-sp-admin-cpt-table.php +++ b/includes/admin/post-types/class-sp-admin-cpt-table.php @@ -67,7 +67,7 @@ class SP_Admin_CPT_Table extends SP_Admin_CPT { echo get_the_terms ( $post_id, 'sp_season' ) ? the_terms( $post_id, 'sp_season' ) : '—'; break; case 'sp_team': - echo sp_posts( $post_id, 'sp_team' ); + echo sizeof( array_filter( get_post_meta( $post_id, 'sp_team' ) ) ); break; case 'sp_views': echo sp_get_post_views( $post_id );