mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration
This commit is contained in:
parent
e13bd2ed63
commit
3dadd5b14b
@ -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