From a63e10ee7d43ab71ed4b66c51a1f78badb69e25d Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 14 Apr 2008 06:11:50 -0400 Subject: [PATCH] - removed strrstr() definition as it was needed only for php4 --- program/steps/mail/compose.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index aaeca24..878cf86 100644 --- a/program/steps/mail/compose.inc +++ b/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); -- Gitblit v1.9.1