Przeglądaj źródła

Removed unnecessary condition.

Tyler Akins 24 lat temu
rodzic
commit
1dc938abc4
1 zmienionych plików z 1 dodań i 1 usunięć
  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';