Skip to content

Commit

Permalink
[N/A] Fix bug when selecting template for specific form.
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-viget committed Jul 31, 2024
1 parent d067a46 commit 2ad5f01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private function filter_template_selects(): void {

foreach ( $this->get_templates() as $template_id ) {
$template_form_id = get_post_meta( $template_id, '_acffb_form_id', true );
if ( $form_id && $template_form_id && $template_form_id === $form_id ) {
if ( $form_id && $template_form_id && $template_form_id !== $form_id ) {
continue;
}

Expand Down

0 comments on commit 2ad5f01

Please sign in to comment.