diff --git a/css/admin_style.css b/css/admin_style.css index 86e5cfe..baa9f77 100644 --- a/css/admin_style.css +++ b/css/admin_style.css @@ -364,11 +364,6 @@ div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty { padding: 10px; min-height: 200px; } -label.mp_event_virtual_type_des textarea { - display: block; - margin-top: 20px; - min-height: 100px; -} #wp-mep_event_cc_email_text-media-buttons button{width:auto !important;} .wrap.mage_settings_panel_wrap #setting-error-tgmpa{order: 0;width: 100%;} #mp_event_all_info_in_tab table.form-table{table-layout: inherit;} @@ -465,5 +460,5 @@ label.mp_event_virtual_type_des textarea{width:100%;} #mp_event_all_info_in_tab .mp_event_type_sortable_button{ border-radius: 0 5px 5px 0;border-left: none;cursor: move;} /****************/ #mp_event_all_info_in_tab table button#mep_event_cc_email_text-tmce, -#mp_event_all_info_in_tab table button#mep_event_cc_email_text-html{width:auto;} +#mp_event_all_info_in_tab table button#mep_event_cc_email_text-html{width:100px;} diff --git a/lib/classes/class-meta-box.php b/lib/classes/class-meta-box.php index c631360..760d1d4 100755 --- a/lib/classes/class-meta-box.php +++ b/lib/classes/class-meta-box.php @@ -61,8 +61,9 @@ if ( ! class_exists( 'AddMetaBox' ) ) { $option_value = serialize( $option_value ); } - - update_post_meta( $post_id, $option['id'], $option_value ); + if(!empty($option['id'])){ + update_post_meta( $post_id, $option['id'], $option_value ); + } endforeach; endforeach; diff --git a/templates/single/daywise_details.php b/templates/single/daywise_details.php index fc7355a..ac2da29 100644 --- a/templates/single/daywise_details.php +++ b/templates/single/daywise_details.php @@ -1,5 +1,5 @@