summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-14 10:11:50 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-14 10:11:50 +0000
commit5708d2e925c1d9ad56701cadae6a7e61a7206739 (patch)
tree3b0b67e45d111b2bbbb9ca5d750963fef22a02d7 /roundcubemail/program/steps
parent83935676d4f60639d63ce93ee3dd6f033bab26d3 (diff)
- removed strrstr() definition as it was needed only for php4
git-svn-id: https://svn.roundcube.net/trunk@1301 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index aaeca24dd..878cf8634 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/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);