From f7cab8efdc54562d892c4f9fc5702ec996f7dcc2 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Tue, 13 Dec 2016 18:54:27 +0800 Subject: [PATCH] Remove notices --- admin/core/um-admin-metabox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/core/um-admin-metabox.php b/admin/core/um-admin-metabox.php index bac4ed15..b72fd834 100644 --- a/admin/core/um-admin-metabox.php +++ b/admin/core/um-admin-metabox.php @@ -519,7 +519,7 @@ class UM_Admin_Metabox { query->get_attr( 'custom_fields', $form_id ); foreach( $fields as $key => $array ) { - if ( isset( $array['title'] ) && $key != $this->edit_array['metakey'] ) { + if ( isset( $array['title'] ) && isset( $this->edit_array['metakey'] ) && $key != $this->edit_array['metakey'] ) { ?>