Remove notices

This commit is contained in:
Champ Camba
2016-12-13 18:54:27 +08:00
parent 4fd9e852ef
commit f7cab8efdc
+1 -1
View File
@@ -519,7 +519,7 @@ class UM_Admin_Metabox {
<?php
$fields = $ultimatemember->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'] ) {
?>
<option value="<?php echo $key; ?>" <?php selected( $key, $this->edit_mode_value ); ?>><?php echo $array['title']; ?></option>