X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FAJAX.php;h=ac81f60aff997214b5eb19ba64517af513ee0377;hb=709e574bfc8b047d9e9f9a6ad84595bc3f560b54;hp=d7707da2dd8b643dc391541aa7416b917d6db1c7;hpb=64e59809d10c3ff342718a28f42983ec217dc282;p=civicrm-core.git diff --git a/CRM/Event/Page/AJAX.php b/CRM/Event/Page/AJAX.php index d7707da2dd..ac81f60aff 100644 --- a/CRM/Event/Page/AJAX.php +++ b/CRM/Event/Page/AJAX.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -42,7 +42,7 @@ class CRM_Event_Page_AJAX { * Building EventFee combo box * FIXME: This ajax callback could be eliminated in favor of an entityRef field but the priceFieldValue api doesn't currently support filtering on entity_table */ - function eventFee() { + public function eventFee() { $name = trim(CRM_Utils_Type::escape($_GET['term'], 'String')); if (!$name) { @@ -66,5 +66,5 @@ GROUP BY cv.label"; } CRM_Utils_JSON::output($results); } -} +}