From 91aafe90a135c41567821e70ed7514ebcccc3288 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sat, 10 Oct 2020 09:32:26 -0400 Subject: [PATCH] make routing endpoint static --- 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 7f3e4412ac..be78f303a9 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -862,7 +862,7 @@ LIMIT {$offset}, {$rowCount} /** * Retrieve a PDF Page Format for the PDF Letter form. */ - public function pdfFormat() { + public static function pdfFormat() { $formatId = CRM_Utils_Type::escape($_REQUEST['formatId'], 'Integer'); $pdfFormat = CRM_Core_BAO_PdfFormat::getById($formatId); -- 2.25.1