Skip to content

Commit 5c94f12

Browse files
author
Pratik Joshi
committed
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
1 parent 4ec597c commit 5c94f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/elements/civiprofiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function getInput() {
5252
require_once 'CRM/Core/Config.php';
5353
$config = CRM_Core_Config::singleton();
5454

55-
$ufGroups = CRM_Core_PseudoConstant::ufGroup();
55+
$ufGroups = CRM_Core_PseudoConstant::get('CRM_Core_DAO_UFField', 'uf_group_id');
5656
$options[] = JHTML::_('select.option', '', JText::_('- Select Profile -'));
5757
foreach ($ufGroups as $key => $values) {
5858
$options[] = JHTML::_('select.option', $key, $values);

0 commit comments

Comments
 (0)