From ca584aa2bc49251343d7607920dae62ca263ebbb Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Thu, 18 Nov 2021 00:46:01 +0900 Subject: [PATCH] Fix double header when multiple player lists displayed in team --- templates/team-lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/team-lists.php b/templates/team-lists.php index 27acb589..2337223e 100644 --- a/templates/team-lists.php +++ b/templates/team-lists.php @@ -22,7 +22,7 @@ foreach ( $lists as $list ) : $id = $list->ID; $grouping = get_post_meta( $id, 'sp_grouping', true ); - if ( $grouping == 0 && sizeof( $lists ) > 1 ) : + if ( $grouping == 'position' && sizeof( $lists ) > 1 ) : ?>

post_title ); ?>