From 35ef61b130edb921e379eb3070453aedfc0c4158 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 17 Apr 2018 20:35:55 -0400 Subject: [PATCH] Removed duplicate line without texarea test that was clearing data when textarea submitted. --- classes/customFieldSupport.php | 1 - 1 file changed, 1 deletion(-) 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', -- 2.17.1