Explorar o código

Removed unnecessary condition.

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
1dc938abc4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -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';