Просмотр исходного кода

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

Tyler Akins 24 лет назад
Родитель
Сommit
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] = '';
          }
          
       }