On 18.09.2010 19:12, Thomas Bruederli wrote:

> I think this is a bug. When I look at the code, in db_connect() we do
>   $this->db_mode = $mode
> right at the beginning and later we have
>   if ($this->db_mode == 'w')
>     return;
> 
> Having $this->db_mode = $mode set at the end of the procedure would be 
> correct.

Problem is because rcube_mdb2 stores DB handle in one variable. So, it
is overwritten.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd

Reply via email to