diff options
Diffstat (limited to 'inc/Mailer.class.php')
-rw-r--r-- | inc/Mailer.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index c85e61395..cbd1eb0a9 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -69,7 +69,7 @@ class Mailer { */ public function attachFile($path, $mime, $name = '', $embed = '') { if(!$name) { - $name = basename($path); + $name = utf8_basename($path); } $this->attach[] = array( |