X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FPagerAToZ.php;h=eeed2e961ab2fbb5d83038c1db29e593b919b75f;hb=7c5f6d7c004e6a3c2999bcc01903c8e4bbbc957b;hp=51a1d525081411d23638e828adde6021e659bd6e;hpb=1d94337f066e139c2118ae6cd497d0a36b5087e1;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 = [];