From 32d1173dbca478bab65a08a5b3a3a1f0394adf2f Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Tue, 20 Mar 2007 14:53:03 +0000 Subject: - Fix error while reading an already read mail which is caused by incorrect constant passed to preg_split() - Correct recipient address in return receipt These are submitted to upstream, too. PR: ports/108519, ports/108521 Submitted by: Cristian KLEIN Approved by: maintainer timeout (7 weeks) --- .../files/patch-functions-imap_messages.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mail/squirrelmail-devel/files/patch-functions-imap_messages.php (limited to 'mail/squirrelmail-devel/files/patch-functions-imap_messages.php') diff --git a/mail/squirrelmail-devel/files/patch-functions-imap_messages.php b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php new file mode 100644 index 000000000000..99bae8349db3 --- /dev/null +++ b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php @@ -0,0 +1,12 @@ +--- functions/imap_messages.php.orig Sun Feb 12 20:21:50 2006 ++++ functions/imap_messages.php Mon Jan 22 20:14:11 2007 +@@ -923,7 +923,7 @@ + if ($read) { + if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) { + if (trim($regs[1])) { +- $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); ++ $flags = preg_split('/ /', $regs[1],-1,PREG_SPLIT_NO_EMPTY); + } + } + } else { + -- cgit v1.2.3