From d057419e865de856e3695d31ba003502f5997980 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 25 Jul 2017 07:14:07 +1000 Subject: [PATCH] CRM-20943 Fix subsequent issue found by Monish and Steven --- CRM/Utils/PagerAToZ.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/PagerAToZ.php b/CRM/Utils/PagerAToZ.php index 0709f67513..3c605e6ede 100644 --- a/CRM/Utils/PagerAToZ.php +++ b/CRM/Utils/PagerAToZ.php @@ -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(); -- 2.25.1