Skip to content

Commit

Permalink
callback function on GOTV must be static
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaphoneJon committed Dec 19, 2022
1 parent eeae05a commit 5423ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Campaign/Page/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static function loadOptionGroupDetails() {
CRM_Utils_JSON::output($result);
}

public function voterList() {
public static function voterList() {
//get the search criteria params.
$searchCriteria = CRM_Utils_Request::retrieve('searchCriteria', 'String', CRM_Core_DAO::$_nullObject, FALSE, NULL, 'POST');
$searchParams = explode(',', $searchCriteria);
Expand Down

0 comments on commit 5423ac6

Please sign in to comment.