From 38d6fba74638f0e81062dd7609ea438ea09ec4d1 Mon Sep 17 00:00:00 2001 From: kink Date: Sun, 16 Mar 2003 12:34:03 +0000 Subject: [PATCH] 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 --- class/mime/Rfc822Header.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1