Sorry, typo.  Correct patch:

--- /tmp/imap_messages.php      2006-11-30 13:29:08.604688588 -0800
+++ squirrelmail/functions/imap_messages.php    2006-11-30 13:27:22.000000000 
-0800
@@ -805,7 +805,7 @@ function sqimap_get_message($imap_stream
     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 {


-- 
Kees Cook                                            @outflux.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to