program/lib/Roundcube/rcube_imap_cache.php | ●●●●● patch | view | raw | blame | history |
program/lib/Roundcube/rcube_imap_cache.php
@@ -485,7 +485,7 @@ .", flags = flags ".($enabled ? "+ $idx" : "- $idx") ." WHERE user_id = ?" ." AND mailbox = ?" .($uids !== null ? " AND uid IN (".$this->db->array2list($uids, 'integer').")" : "") .(!empty($uids) ? " AND uid IN (".$this->db->array2list($uids, 'integer').")" : "") ." AND (flags & $idx) ".($enabled ? "= 0" : "= $idx"), $this->userid, $mailbox); }