From e3467d2e9ef5771883761e02ab79dc9326dfafa4 Mon Sep 17 00:00:00 2001 From: Sudha Bisht Date: Fri, 22 May 2015 15:20:35 +0530 Subject: [PATCH] Fixes for unable to deselect multi-select field --- CRM/Profile/Page/Listings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Profile/Page/Listings.php b/CRM/Profile/Page/Listings.php index 951e1a4b85..dae8e3a963 100644 --- a/CRM/Profile/Page/Listings.php +++ b/CRM/Profile/Page/Listings.php @@ -228,7 +228,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { if ($customField) { // reset checkbox/radio because a form does not send null checkbox values if (in_array($customField['html_type'], - array('Multi-Select', 'CheckBox', 'Multi-Select State/Province', 'Multi-Select Country', 'Radio') + array('Multi-Select', 'CheckBox', 'Multi-Select State/Province', 'Multi-Select Country', 'Radio', 'Select') )) { // only reset on a POST submission if we dont see any value $value = NULL; -- 2.25.1