plugins/libkolab

Aleksander Machniak machniak at kolabsys.com
Wed Jul 31 14:34:26 CEST 2013


 plugins/libkolab/lib/kolab_storage_cache.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c7dfb7c0426f8278b3c0f2c5d97e6bbae25503a0
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Wed Jul 31 14:32:54 2013 +0200

    Fix INSERT undefined values for NOT NULL columns (Bug #2038)

diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php
index a3b6626..ba6c106 100644
--- a/plugins/libkolab/lib/kolab_storage_cache.php
+++ b/plugins/libkolab/lib/kolab_storage_cache.php
@@ -712,8 +712,8 @@ class kolab_storage_cache
         // create lock record if not exists
         if (!$sql_arr) {
             $this->db->query(
-                "INSERT INTO kolab_cache (resource, type, msguid, created, uid, data, xml)".
-                " VALUES (?, ?, 1, " . $this->db->now() . ", '', '', '')",
+                "INSERT INTO kolab_cache (resource, type, msguid, created, uid, data, xml, tags, words)".
+                " VALUES (?, ?, 1, " . $this->db->now() . ", '', '', '', '', '')",
                 $this->resource_uri,
                 'lock'
             );




More information about the commits mailing list