|
@@ -76,7 +76,7 @@
|
|
if (isMultipart()) {
|
|
if (isMultipart()) {
|
|
foreach ($attachments as $info)
|
|
foreach ($attachments as $info)
|
|
{
|
|
{
|
|
- if (isset($info['type']) && $filetype != "")
|
|
|
|
|
|
+ if (isset($info['type']))
|
|
$filetype = $info['type'];
|
|
$filetype = $info['type'];
|
|
else
|
|
else
|
|
$filetype = 'application/octet-stream';
|
|
$filetype = 'application/octet-stream';
|