Merge pull request #17078 from herbdool/ui-18
[civicrm-core.git] / CRM / Utils / PagerAToZ.php
index 51a1d525081411d23638e828adde6021e659bd6e..c9e15a636acb3f916ccaa53e95eb801e2f16bcd3 100644 (file)
@@ -132,7 +132,7 @@ 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.