On 03/16/2015 10:04 PM, Rodrigo Santellan wrote: > My problem is that running roundcube in console with only the framework > works like a charm but when I try to put in a Symfony2 project I have > undefined $index on rcube_imap_cache.
So, Symphony2 uses different error_reporting setting? > The line is this: > $this->add_index_row($mailbox, $sort_field, $data, $mbox_data, $exists, > $index['modseq']); $index comes from get_index_row(). We can replace $index['modseq'] here with: $index && !empty($index['modseq']) ? $index['modseq'] : $mbox_data['HIGHESTMODSEQ'] which is actually what add_index_row() does. -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
