From: Sudha Bisht Date: Fri, 22 May 2015 09:50:35 +0000 (+0530) Subject: Fixes for unable to deselect multi-select field X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e3467d2e9ef5771883761e02ab79dc9326dfafa4;p=civicrm-core.git Fixes for unable to deselect multi-select field --- 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;