X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FPagerAToZ.php;h=eeed2e961ab2fbb5d83038c1db29e593b919b75f;hb=0f86b677f3b0d1cc4829534c2d8a1b59566d039d;hp=51a1d525081411d23638e828adde6021e659bd6e;hpb=ab09045c843e85a6e39f5c02d27050405ccbf827;p=civicrm-core.git diff --git a/CRM/Utils/PagerAToZ.php b/CRM/Utils/PagerAToZ.php index 51a1d52508..eeed2e961a 100644 --- a/CRM/Utils/PagerAToZ.php +++ b/CRM/Utils/PagerAToZ.php @@ -132,12 +132,10 @@ class CRM_Utils_PagerAToZ { $qfKey = NULL; if (isset($query->_formValues)) { - $qfKey = CRM_Utils_Array::value('qfKey', $query->_formValues); + $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 = [];