summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-14 10:11:50 +0000
committeralecpl <alec@alec.pl>2008-04-14 10:11:50 +0000
commita63e10ee7d43ab71ed4b66c51a1f78badb69e25d (patch)
treebf8a22b9911925d84f075d8918ab0920a58d72d4 /program/steps/mail
parenta901aa564a73e85d37eda6b53c21c0638d435169 (diff)
- removed strrstr() definition as it was needed only for php4
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index aaeca24dd..878cf8634 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -499,7 +499,7 @@ function rcmail_create_reply_body($body, $bodyIsHtml)
$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);