| @@ -39,12 +39,12 @@ | ||
| 39 | 39 | do_action( 'frm_display_added_fields', $field ); |
| 40 | 40 | do_action( 'frm_display_added_' . $this->type . '_field', $field ); |
| 41 | 41 | $input_html = ob_get_clean(); |
| 42 | 42 | |
| 43 | - if ( ! $input_html ) { | |
| 43 | + if ( $input_html ) { | |
| 44 | + echo $input_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 45 | + } else { | |
| 44 | 46 | echo $this->builder_text_field( $name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 45 | - } else { | |
| 46 | - echo $input_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |