diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index 330b3139..8422e6e9 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -3056,10 +3056,10 @@ if ( ! class_exists( 'um\core\Fields' ) ) { $output .= ''; - if ( $this->is_error( $form_key) ) { - $output .= $this->field_error( $this->show_error( $form_key) ); - }else if ( $this->is_notice( $form_key) ) { - $output .= $this->field_notice( $this->show_notice( $form_key) ); + if ( $this->is_error( $form_key ) ) { + $output .= $this->field_error( $this->show_error( $form_key ) ); + } elseif ( $this->is_notice( $form_key ) ) { + $output .= $this->field_notice( $this->show_notice( $form_key ) ); }