Skip to content

Commit ceca9db

Browse files
committed
Merge pull request civicrm#13 from pratik-joshi/CRM-13485
CRM-13485 : replaced deprecated pseudoconstant ufgroup method with new improved one
2 parents 4ec597c + 5c94f12 commit ceca9db

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)