program/steps/mail/compose.inc
@@ -499,7 +499,7 @@ $IMAP->decode_header($MESSAGE['headers']->from)); // try to remove the signature if ($sp = strrstr($body, '-- ')) if ($sp = strrpos($body, '-- ')) { if ($body{$sp+3}==' ' || $body{$sp+3}=="\n" || $body{$sp+3}=="\r") $body = substr($body, 0, $sp-1);