[Pkg-roundcube-maintainers] Bug#602144: sieve plugin: Call to a member function connect() on a non-object in /usr/share/roundcube/program/include/rcmail.php on line 408

Vincent Bernat bernat at debian.org
Sat Jan 8 15:53:11 UTC 2011


OoO Vers la  fin de l'après-midi du samedi 08  janvier 2011, vers 16:36,
Marcus Schopen <marcus at localguru.de> disait :

>> Where did you add this line exactly?

> Insert line

>   if(!$this->imap) $this->imap_init();

> after line 407 in /usr/share/roundcube/program/include/rcmail.php:

> ----------------
> [...]
>   public function imap_connect()
>   {
>     $conn = false;
    
>     if ($_SESSION['imap_host'] && !$this->imap->conn) {
-----> if(!$this->imap) $this->imap_init();
>       if (!($conn = $this->imap->connect($_SESSION['imap_host'], ....
> [...]
> ----------------

OK, thanks.  This is fixed  upstream. I should  upload a new  version of
roundcube soon.
-- 
Use the fundamental control flow constructs.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20110108/a9359b45/attachment-0001.pgp>


More information about the Pkg-roundcube-maintainers mailing list