From 75cd948c2522a9d4579d184461421c5c1b821967 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 21 Aug 2006 10:33:08 +0000 Subject: [PATCH] Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message (#1543573). Thanks Cristian Rodriguez. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11618 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 2 ++ functions/imap_messages.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c232c698..9e9e7ea0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -129,6 +129,8 @@ Version 1.5.2 - CVS - Fixed subscription of new 'noselect' folders (#1315912). - Moving the development documentation to the documentation module. - Drop obsolete script plugins/make_archive.pl. + - Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message + (#1543573). Version 1.5.1 (branched on 2006-02-12) -------------------------------------- diff --git a/functions/imap_messages.php b/functions/imap_messages.php index b2f8eab5..7f9f2630 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -923,7 +923,7 @@ function sqimap_get_message($imap_stream, $id, $mailbox) { 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 { -- 2.25.1