Skip to content

Commit

Permalink
CRM-20943 Fix subsequent issue found by Monish and Steven
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Jul 24, 2017
1 parent 29a2319 commit d057419
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 d057419

Please sign in to comment.