Explorar o código

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

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
a955d2edbc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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] = '';
          }
          
       }