From 1f8e7cc4781db3fd1984cd3e95c4a6f8b7035ad4 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 4 Nov 2013 11:50:06 +0100 Subject: [PATCH] Fix SQL syntax error when purging cache for a folder --- plugins/libkolab/lib/kolab_storage_cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php index 651dc18d..c6d1267e 100644 --- a/plugins/libkolab/lib/kolab_storage_cache.php +++ b/plugins/libkolab/lib/kolab_storage_cache.php @@ -365,7 +365,7 @@ class kolab_storage_cache $this->_read_folder_data(); $result = $this->db->query( - "DELETE FROM $this->cache_table WHERE folder_id=?". + "DELETE FROM $this->cache_table WHERE folder_id=?", $this->folder_id ); return $this->db->affected_rows($result);