thomascube
2012-03-16 f302fb9337fa35d413e3292da095a338433f50e2
Don't set variable which will be used later on with wrong data

1 files modified
5 ■■■■■ changed files
program/include/rcube_imap_cache.php 5 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap_cache.php
@@ -353,8 +353,9 @@
    function get_message($mailbox, $uid, $update = true, $cache = true)
    {
        // Check internal cache
        if (($message = $this->icache['message'])
            && $message['mailbox'] == $mailbox && $message['object']->uid == $uid
        if ($this->icache['message']
            && $this->icache['message']['mailbox'] == $mailbox
            && $this->icache['message']['object']->uid == $uid
        ) {
            return $this->icache['message']['object'];
        }