projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed warnings from popping up (even though they were originally there
[squirrelmail.git]
/
functions
/
smtp.php
diff --git
a/functions/smtp.php
b/functions/smtp.php
index 0c66f44e96779aecea0d956e03ef2925b49ed5d9..09a1a7e4a1e0c311d9fb79256d6edbbed9f28f12 100644
(file)
--- a/
functions/smtp.php
+++ b/
functions/smtp.php
@@
-64,8
+64,9
@@
if (isMultipart()) {
foreach ($attachments as $info)
{
- $filetype = $info['type'];
- if ($filetype == '')
+ if (isset($info['type']))
+ $filetype = $info['type'];
+ else
$filetype = 'application/octet-stream';
$header = '--'.mimeBoundary()."\r\n";