Skip to content

Commit

Permalink
Merge pull request #13 from pratik-joshi/CRM-13485
Browse files Browse the repository at this point in the history
CRM-13485 : replaced deprecated pseudoconstant ufgroup method with new improved one
  • Loading branch information
colemanw committed Oct 3, 2013
2 parents 4ec597c + 5c94f12 commit ceca9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/elements/civiprofiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ceca9db

Please sign in to comment.