Skip to content
Snippets Groups Projects
Commit 512cceb4 authored by pratik.joshi's avatar pratik.joshi
Browse files

hr-200 : failure for hr-200 unit test was encountered due to 'Only variables should be passed by …

…reference' on E_STRICT php error reporting
parent cd98cf03
Branches
Tags 0.1
No related merge requests found
......@@ -194,7 +194,8 @@ function civicrm_api3_custom_value_get($params) {
continue;
}
$fieldNumber = $idArray[1];
$info = array_pop(CRM_Core_BAO_CustomField::getNameFromID($fieldNumber));
$customFieldInfo = CRM_Core_BAO_CustomField::getNameFromID($fieldNumber);
$info = array_pop($customFieldInfo);
// id is the index for returned results
if (empty($idArray[2])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment