summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2005-10-26 09:42:19 +0000
committersvncommit <devs@roundcube.net>2005-10-26 09:42:19 +0000
commit43fa235da354c8b53aa69ba745c1d398a758fcaf (patch)
tree1389ed7e434c49fb75a67b9ac1a45cacd9aa846a
parentd13c36941c585e84c8986e1eb47a296646cc7a21 (diff)
fixed sql query bug
-rw-r--r--program/include/cache.inc2
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,