Skip to content

Commit

Permalink
Merge pull request #10748 from seamuslee001/CRM-20943-2
Browse files Browse the repository at this point in the history
CRM-20943 Fix subsequent issue found by Monish and Steven
  • Loading branch information
monishdeb committed Jul 24, 2017
2 parents f6f65fc + d057419 commit e4776cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/Utils/PagerAToZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ public static function createLinks(&$query, $sortByCharacter, $isDAO) {
$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();
Expand Down

0 comments on commit e4776cd

Please sign in to comment.