Browse Source

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

Tyler Akins 24 years ago
parent
commit
a955d2edbc
1 changed files with 2 additions and 0 deletions
  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] = '';
          }
          
       }