$qfKey = CRM_Utils_Array::value('qfKey', $query->_formValues);
}
if (empty($qfKey)) {
- $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $this, FALSE, NULL, $_REQUEST);
+ // CRM-20943 Can only pass variables by reference and also cannot use $this so using $empty setting to NULL which is default.
+ $emptyVariable = NULL;
+ $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $emptyVariable, FALSE, NULL, $_REQUEST);
}
$aToZBar = array();