diff options
Diffstat (limited to 'program/include/cache.inc')
-rw-r--r-- | program/include/cache.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/cache.inc b/program/include/cache.inc index ec8d7c046..9b01c9e0c 100644 --- a/program/include/cache.inc +++ b/program/include/cache.inc @@ -82,7 +82,7 @@ function rcube_write_cache($key, $data, $session_cache=FALSE) { $DB->query("INSERT INTO ".get_table_name('cache')." (created, user_id, session_id, cache_key, data) - VALUES (NOW(), ?, ?, ?', ?)", + VALUES (NOW(), ?, ?, ?, ?)", $_SESSION['user_id'], $session_cache ? $sess_id : 'NULL', $key, |