瀏覽代碼

Removed unnecessary condition.

Tyler Akins 24 年之前
父節點
當前提交
1dc938abc4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/smtp.php

+ 1 - 1
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';