From 3dadd5b14b4dd80c0e173dc0526967ce92006772 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Jan 2018 09:31:54 +0100 Subject: [PATCH] fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration --- api/src/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail.php b/api/src/Mail.php index 11f3a4512c..0963139b52 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -6407,7 +6407,7 @@ class Mail * @param string $filename * @return Cleaned filename, with problematic characters replaced with '_'. */ - protected static function clean_subject_for_filename($filename) + static function clean_subject_for_filename($filename) { static $filter_pattern = '$[\f\n\t\v\\:*#?<>%"\|/\\\?]$'; return preg_replace($filter_pattern, "_", trim($filename));