From: jitendrapurohit Date: Mon, 23 Nov 2015 05:26:15 +0000 (+0530) Subject: remove changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=748e49791fb79490732338de502f11546f408a2b;p=civicrm-core.git remove changes --- diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index 7f509641b3..9c7ed2b420 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -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); }