projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added A. Kirchwitz's check for set put empty MIME type for attachments.
[squirrelmail.git]
/
functions
/
smtp.php
diff --git
a/functions/smtp.php
b/functions/smtp.php
index f171693e89946090aa665bfc96a7e032b241916f..bda8525e3282b50517a76b8c7d7f96d834dc9f24 100644
(file)
--- a/
functions/smtp.php
+++ b/
functions/smtp.php
@@
-76,7
+76,7
@@
if (isMultipart()) {
foreach ($attachments as $info)
{
- if (isset($info['type']))
+ if (isset($info['type'])
&& $filetype != ""
)
$filetype = $info['type'];
else
$filetype = 'application/octet-stream';