Fix INSERT undefined values for NOT NULL columns (Bug #2038)
This commit is contained in:
parent
fd645a9e96
commit
c7dfb7c042
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue