mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration
This commit is contained in:
parent
4b85df3465
commit
a291fbeac6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user