remove changes
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 23 Nov 2015 05:26:15 +0000 (10:56 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 23 Nov 2015 05:26:15 +0000 (10:56 +0530)
CRM/Core/BAO/CustomField.php

index 7f509641b319bdb04f1e92f622ed2d536bc96e3a..9c7ed2b420995bd79fe5bd5bddea4d544e95b111 100644 (file)
@@ -1163,11 +1163,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField {
         $html_type == 'Multi-Select'
       )
     ) {
-      // Keep only the custom option 'key' => 'value' pair
-      // to avoid return of unnecessary data from the hook.
-      if (isset($option['attributes'])) {
-        unset($option['attributes']);
-      }
       CRM_Utils_Hook::customFieldOptions($fieldID, $option);
     }