Small bug in content-type properties, thanks Ryan (hairball57) for reporting.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 16 Mar 2003 12:34:03 +0000 (12:34 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 16 Mar 2003 12:34:03 +0000 (12:34 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4657 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime/Rfc822Header.class.php

index 1f18f2b..1326c6c 100644 (file)
@@ -524,7 +524,7 @@ class Rfc822Header {
         $props = '';
         if ($pos > 0) {
            $type = trim(substr($value, 0, $pos));
-           $props = trim(substr($type, $pos+1));
+           $props = trim(substr($value, $pos+1));
         } else {
            $type = $value;
         }