From 5c94f1236c049afb9b14a6106535b0f984bd2bc3 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Thu, 3 Oct 2013 17:05:29 +0530 Subject: [PATCH] CRM-13485 : replaced deprecated pseudoconstant ufgroup method with new improved one ---------------------------------------- * CRM-13485: Create new Menu Item (Profile Create Form) not working http://issues.civicrm.org/jira/browse/CRM-13485 --- site/elements/civiprofiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/elements/civiprofiles.php b/site/elements/civiprofiles.php index 37d61cd4..b7c7d1f1 100644 --- a/site/elements/civiprofiles.php +++ b/site/elements/civiprofiles.php @@ -52,7 +52,7 @@ protected function getInput() { require_once 'CRM/Core/Config.php'; $config = CRM_Core_Config::singleton(); - $ufGroups = CRM_Core_PseudoConstant::ufGroup(); + $ufGroups = CRM_Core_PseudoConstant::get('CRM_Core_DAO_UFField', 'uf_group_id'); $options[] = JHTML::_('select.option', '', JText::_('- Select Profile -')); foreach ($ufGroups as $key => $values) { $options[] = JHTML::_('select.option', $key, $values);