Set version to 4.7.25
[civicrm-core.git] / CRM / Utils / PagerAToZ.php
index 0709f675133c9b9e22a9cbea983db0994ef27d4d..3c605e6edee49273dc97c7b89fdbefbc40990c6e 100644 (file)
@@ -151,7 +151,9 @@ class CRM_Utils_PagerAToZ {
       $qfKey = CRM_Utils_Array::value('qfKey', $query->_formValues);
     }
     if (empty($qfKey)) {
-      $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', NULL, 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();