summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/lib/Mail/mime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Mail/mime.php b/program/lib/Mail/mime.php
index 507cacab2..92c797b28 100644
--- a/program/lib/Mail/mime.php
+++ b/program/lib/Mail/mime.php
@@ -350,7 +350,7 @@ class Mail_mime
$err = PEAR::raiseError($msg);
return $err;
}
- $filename = basename($filename);
+ $filename = substr('s_'.basename($filename), 2);
if (PEAR::isError($filedata)) {
return $filedata;
}
@@ -667,7 +667,7 @@ class Mail_mime
$this->_htmlbody = preg_replace($regex, $rep, $this->_htmlbody);
$this->_html_images[$key]['name'] =
- basename($this->_html_images[$key]['name']);
+ substr(basename('s_'.$this->_html_images[$key]['name']), 2);
}
}