$subType = str_replace(CRM_Core_DAO::VALUE_SEPARATOR, ',', trim($subType, CRM_Core_DAO::VALUE_SEPARATOR));
}
- $groupTree = &CRM_Core_BAO_CustomGroup::getTree($form->_type,
+ $groupTree = CRM_Core_BAO_CustomGroup::getTree($form->_type,
$form,
$form->_entityId,
$gid,
/* Check for custom field values */
if (empty($fields['custom'])) {
- $fields['custom'] = &CRM_Core_BAO_CustomField::getFields(CRM_Utils_Array::value('contact_type', $values),
+ $fields['custom'] = CRM_Core_BAO_CustomField::getFields(CRM_Utils_Array::value('contact_type', $values),
FALSE, FALSE, NULL, NULL, FALSE, FALSE, FALSE
);
}
static $_cache = array();
if (! array_key_exists($groupID, $_cache)) {
- $childGroups = &CRM_Core_BAO_Cache::getItem('descendant groups for an org', $groupID);
+ $childGroups = CRM_Core_BAO_Cache::getItem('descendant groups for an org', $groupID);
if (empty($childGroups)) {
$childGroups = array();
//Add custom fields to columns array for inclusion in export
require_once 'CRM/Core/BAO/CustomGroup.php';
- $groupTree = &CRM_Core_BAO_CustomGroup::getTree('Activity', $form, NULL,
+ $groupTree = CRM_Core_BAO_CustomGroup::getTree('Activity', NULL, NULL,
NULL, '', NULL
);
// add custom group fields to SELECT and FROM clause
require_once 'CRM/Core/BAO/CustomGroup.php';
- $groupTree = &CRM_Core_BAO_CustomGroup::getTree('Activity', $form, NULL, NULL, '', NULL);
+ $groupTree = CRM_Core_BAO_CustomGroup::getTree('Activity', NULL, NULL, NULL, '', NULL);
foreach ($groupTree as $key) {
if ($key['extends'] == 'Activity') {