Skip to content
Snippets Groups Projects
Commit c4f36d52 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #2052 from pratik-joshi/HR-200

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
parents f3a534a5 512cceb4
Branches
Tags
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