Package: squirrelmail
Version: 2:1.4.8-3
Tags: patch
Followup-For: Bug #401022

Here's the patch that fixes this for me.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages squirrelmail depends on:
ii  apache [httpd]                1.3.34-4   versatile, high-performance HTTP s
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2
ii  libapache-mod-php5            5.2.0-4    server-side, HTML-embedded scripti
ii  perl                          5.8.8-6    Larry Wall's Practical Extraction 
ii  php5                          5.2.0-4    server-side, HTML-embedded scripti

Versions of packages squirrelmail recommends:
ii  ispell                      3.1.20.0-4.3 International Ispell (an interacti
pn  squirrelmail-locales        <none>       (no description available)

-- no debconf information
--- /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_NI_EMPTY);
             }
         }
     } else {

Reply via email to