[RCD] BUG: program/lib/Roundcube/rcube_imap.php on line 1845

A.L.E.C alec at alec.pl
Mon May 26 10:41:10 CEST 2014


On 05/26/2014 10:31 AM, Reindl Harald wrote:
> hopefully console() and $headers exists at that level :-)

Oops, it looks that we were looking at different lines of code.

>          // regular part
> -        $struct->ctype_primary = strtolower($part[0]);
> -        $struct->ctype_secondary = strtolower($part[1]);
> +        if(is_array($part[0]) || is_array($part[1]))
> +        {
> +         console($_SESSION['username'].":$folder:$uid");
> +         console($headers);
> +        }


Here, none of used variables exist. You need to change this to

console($_SESSION['username'].":".$this->folder.":".$this->msg_uid);
console($part);

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl


More information about the dev mailing list