minor fix
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Apr 2002 09:11:59 +0000 (09:11 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Apr 2002 09:11:59 +0000 (09:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2732 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index 277d99b..8ae69c3 100755 (executable)
@@ -618,9 +618,8 @@ function sqimap_get_header ($imap_stream, $read) {
                 if (strpos($line, ";", $pos) > 0) {
                     $type = substr($type, $pos, strpos($line, ";", $pos)-$pos);
                 } else {
-                    $type = substr($charset, $pos);
+                    $type = substr($type, $pos);
                 }
-               $type = str_replace("\"",'',$type);
                $hdr->type = $type;
            }
         }