Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Aug 2006 10:33:08 +0000 (10:33 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Aug 2006 10:33:08 +0000 (10:33 +0000)
(#1543573). Thanks Cristian Rodriguez.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11618 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
functions/imap_messages.php

index c232c69..9e9e7ea 100644 (file)
--- 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)
 --------------------------------------
index b2f8eab..7f9f263 100755 (executable)
@@ -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 {