From: kink Date: Sun, 16 Mar 2003 12:34:03 +0000 (+0000) Subject: Small bug in content-type properties, thanks Ryan (hairball57) for reporting. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=38d6fba74638f0e81062dd7609ea438ea09ec4d1;p=squirrelmail.git Small bug in content-type properties, thanks Ryan (hairball57) for reporting. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4657 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/mime/Rfc822Header.class.php b/class/mime/Rfc822Header.class.php index 1f18f2bd..1326c6c5 100644 --- a/class/mime/Rfc822Header.class.php +++ b/class/mime/Rfc822Header.class.php @@ -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; }