From 4f601b14a6795da2ab15189029a6a7227b41c3c8 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 12 Sep 2001 22:24:04 +0000 Subject: [PATCH] Removed unnecessary condition. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1500 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/smtp.php b/functions/smtp.php index bda8525e..f171693e 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -76,7 +76,7 @@ if (isMultipart()) { foreach ($attachments as $info) { - if (isset($info['type']) && $filetype != "") + if (isset($info['type'])) $filetype = $info['type']; else $filetype = 'application/octet-stream'; -- 2.25.1