Merge pull request #17813 from JKingsnorth/patch-15
[civicrm-core.git] / CRM / Utils / PagerAToZ.php
index c9e15a636acb3f916ccaa53e95eb801e2f16bcd3..eeed2e961ab2fbb5d83038c1db29e593b919b75f 100644 (file)
@@ -135,9 +135,7 @@ class CRM_Utils_PagerAToZ {
       $qfKey = $query->_formValues['qfKey'] ?? NULL;
     }
     if (empty($qfKey)) {
-      // 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);
+      $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String');
     }
 
     $aToZBar = [];