thomascube
2008-12-01 ffbf910df93d0a29fc8ea5a6fb0fa39e078fa77e
program/include/rcube_imap.php
@@ -294,7 +294,7 @@
      $msgs = split(',', $msgs);
      
    $this->search_string = $str;
    $this->search_set = (array)$msgs;
    $this->search_set = $msgs;
    $this->search_charset = $charset;
    $this->search_sort_field = $sort_field;
    }
@@ -2146,11 +2146,10 @@
      {
      $this->db->query(
        "UPDATE ".get_table_name('cache')."
         SET    created=".$this->db->now().", data=?, session_id=?
         SET    created=". $this->db->now().", data=?
         WHERE  user_id=?
         AND    cache_key=?",
        $data,
   session_id(),
        $_SESSION['user_id'],
        $key);
      }
@@ -2159,12 +2158,11 @@
      {
      $this->db->query(
        "INSERT INTO ".get_table_name('cache')."
         (created, user_id, cache_key, data, session_id)
         VALUES (".$this->db->now().", ?, ?, ?, ?)",
         (created, user_id, cache_key, data)
         VALUES (".$this->db->now().", ?, ?, ?)",
        $_SESSION['user_id'],
        $key,
        $data,
   session_id());
        $data);
      }
    }