浏览代码

* Removed another warning that shouldn't ever pop up, but it did with a
poorly formatted bounce message I just got.

Tyler Akins 24 年之前
父节点
当前提交
a955d2edbc
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      functions/imap_messages.php

+ 2 - 0
functions/imap_messages.php

@@ -97,6 +97,8 @@
             if ($pos = strpos($type, ";"))
                $type = substr($type, 0, $pos);
             $type = explode("/", $type);
+	    if (! isset($type[1]))
+	        $type[1] = '';
          }
          
       }