Explorar el Código

Removed unnecessary condition.

Tyler Akins hace 24 años
padre
commit
1dc938abc4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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';