From 77889c6070a47110fc401adbe1381661022f1bad Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Sun, 2 Jul 2023 20:45:09 +0300 Subject: [PATCH] - fixed typo; --- includes/core/class-form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-form.php b/includes/core/class-form.php index 03eef6ae..14c88f4f 100644 --- a/includes/core/class-form.php +++ b/includes/core/class-form.php @@ -495,7 +495,7 @@ if ( ! class_exists( 'um\core\Form' ) ) { $cf_metakeys[] = 'cover_photo'; if ( array_key_exists( 'show_bio', $this->form_data ) ) { - if ( ! emtpy( $this->form_data['show_bio'] ) ) { + if ( ! empty( $this->form_data['show_bio'] ) ) { $cf_metakeys[] = UM()->profile()->get_show_bio_key( $this->form_data ); } } else {