From 51ed1b8f79d031d41ac0e0fff280c41c32948ca1 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 11 Jan 2015 16:02:55 +0000 Subject: [PATCH] CRM-15806 - getPCPList on new Contribution does not filter https://issues.civicrm.org/jira/browse/CRM-15806 --- CRM/Contact/Page/AJAX.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index 242eb75c83..11a3202147 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -199,7 +199,7 @@ class CRM_Contact_Page_AJAX { * Function to fetch PCP ID by PCP Supporter sort_name, also displays PCP title and associated Contribution Page title */ static function getPCPList() { - $name = CRM_Utils_Array::value('s', $_GET); + $name = CRM_Utils_Array::value('term', $_GET); $name = CRM_Utils_Type::escape($name, 'String'); $limit = '10'; -- 2.25.1