* @return array|int
* @throws \CRM_Core_Exception
*/
- public static function buildCustomDataView(&$form, $groupTree, $returnCount = FALSE, $gID = NULL, $prefix = NULL, $customValueId = NULL, $entityId = NULL, $checkEditPermission = FALSE) {
+ public static function buildCustomDataView($form, $groupTree, $returnCount = FALSE, $gID = NULL, $prefix = NULL, $customValueId = NULL, $entityId = NULL, $checkEditPermission = FALSE) {
// Filter out pesky extra info
unset($groupTree['info']);
'groupId',
'skipTitle',
]);
- $form->assign_by_ref("{$prefix}viewCustomData", $details);
+ $form->assign("{$prefix}viewCustomData", $details);
return $details;
}
}