Skip to content

Commit

Permalink
Update params
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipstenu committed Dec 16, 2023
1 parent d6e45e6 commit fcf48e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template-parts/content-post_type_shows.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@
$havedeadcount = lwtv_plugin()->get_list_characters( $show_id, 'dead' );

// Get the list of characters.
$chars_regular = lwtv_plugin()->get_chars_for_show( $show_id, $havecharcount, 'regular' );
$chars_recurring = lwtv_plugin()->get_chars_for_show( $show_id, $havecharcount, 'recurring' );
$chars_guest = lwtv_plugin()->get_chars_for_show( $show_id, $havecharcount, 'guest' );
$chars_regular = lwtv_plugin()->get_chars_for_show( $show_id, 'regular' );
$chars_recurring = lwtv_plugin()->get_chars_for_show( $show_id, 'recurring' );
$chars_guest = lwtv_plugin()->get_chars_for_show( $show_id, 'guest' );
$chars_total = count( $chars_recurring ) + count( $chars_regular ) + count( $chars_guest );

// If havecharcount and chars_total are different, rerun the call.
Expand Down

0 comments on commit fcf48e8

Please sign in to comment.