From 8fbd3285af7ef4e5bd19452ccc38ac1178e85af3 Mon Sep 17 00:00:00 2001 From: roundcube Date: Wed, 14 Dec 2005 23:47:32 +0000 Subject: IMAP bugfixes, better signature handling git-svn-id: https://svn.roundcube.net/trunk@91 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail/compose.inc') diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 45f111263..6aca28db8 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -353,7 +353,7 @@ function rcmail_create_reply_body($body) // try to remove the signature - if ($sp = strrpos($body, '--')) + if ($sp = strrpos($body, '-- ')) { if ($body{$sp+3}==' ' || $body{$sp+3}=="\n" || $body{$sp+3}=="\r") $body = substr($body, 0, $sp-1); -- cgit v1.2.3