From 748e49791fb79490732338de502f11546f408a2b Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 23 Nov 2015 10:56:15 +0530 Subject: [PATCH] remove changes --- CRM/Core/BAO/CustomField.php | 5 ----- 1 file changed, 5 deletions(-) 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); } -- 2.25.1