Fixes for unable to deselect multi-select field
authorSudha Bisht <sudha.bisht@webaccessglobal.com>
Fri, 22 May 2015 09:50:35 +0000 (15:20 +0530)
committerSudha Bisht <sudha.bisht@webaccessglobal.com>
Fri, 22 May 2015 09:50:35 +0000 (15:20 +0530)
CRM/Profile/Page/Listings.php

index 951e1a4b85b003742f53db08bc9975f2bbaf5cd8..dae8e3a963ec45b89df92298a802f625cc5274e6 100644 (file)
@@ -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;