From 745ca015e76384ca842ebbb12b0c46c39ada6022 Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Wed, 24 Apr 2024 14:12:26 +0800 Subject: [PATCH] refs #40439, fixes import filename php8 compatibility --- CRM/Event/Import/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Import/Parser.php b/CRM/Event/Import/Parser.php index 3215eafa6..ca50ae570 100644 --- a/CRM/Event/Import/Parser.php +++ b/CRM/Event/Import/Parser.php @@ -665,12 +665,12 @@ static function encloseScrub(&$values, $enclosure = "'") { } } - function errorFileName($type) { + public static function errorFileName($type) { $fileName = CRM_Import_Parser::errorFileName($type); return $fileName; } - function saveFileName($type) { + public static function saveFileName($type) { $fileName = CRM_Import_Parser::saveFileName($type); return $fileName; }