From: Chuck Scott Date: Wed, 18 Apr 2018 00:35:55 +0000 (-0400) Subject: Removed duplicate line without texarea test that was clearing data when textarea... X-Git-Tag: v1.0.0^2~6 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=35ef61b130edb921e379eb3070453aedfc0c4158;p=WP-Plugins%2Fglm-member-db-customfields.git Removed duplicate line without texarea test that was clearing data when textarea submitted. --- diff --git a/classes/customFieldSupport.php b/classes/customFieldSupport.php index 54fa4cf..82d3965 100644 --- a/classes/customFieldSupport.php +++ b/classes/customFieldSupport.php @@ -287,7 +287,6 @@ class GlmCustomFieldSupport extends GlmDataFieldsCustomFields $checkbox_data = ($fType=='checkbox' ? $field['submitted'] : false); $integer_data = ($fType=='integer' ? $field['submitted'] : false); $float_data = ($fType=='float' ? $field['submitted'] : false); - $text_data = ($fType=='text'||$fType=='picklist' ? $field['submitted'] : ''); $res = $this->wpdb->update( GLM_MEMBERS_CUSTOMFIELDS_PLUGIN_DB_PREFIX.'custom_field_data',