From 4c06e15d830316b3de168db8823ab602fed271dc Mon Sep 17 00:00:00 2001 From: thomppj Date: Sat, 8 Sep 2001 03:20:12 +0000 Subject: [PATCH] Minor update to quote who code. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1497 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/compose.php b/src/compose.php index 91fe35ef..af429d43 100644 --- a/src/compose.php +++ b/src/compose.php @@ -102,10 +102,11 @@ $bodyTop .= "\n"; $body = $bodyTop . $body; } else if ($reply_id) { - $bodyTop = '\n\n"; - $body = $bodyTop . $body; + $orig_from = $orig_header->from; + $orig_from = trim(substr($orig_from,0,strpos($orig_from,'<'))); + $orig_from = str_replace('"','',$orig_from); + $orig_from = str_replace("'",'',$orig_from); + $body = "\n\n$body"; } return; -- 2.25.1