From 41221a5d72ecd33a33a4eb9345a4fc2e4b52adab Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 26 Nov 2012 09:44:36 +0000 Subject: [PATCH] fix SQL Error when inserting/updating carddav lists --- addressbook/inc/class.addressbook_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_sql.inc.php b/addressbook/inc/class.addressbook_sql.inc.php index dbfd978233..d363f44e43 100644 --- a/addressbook/inc/class.addressbook_sql.inc.php +++ b/addressbook/inc/class.addressbook_sql.inc.php @@ -549,7 +549,7 @@ class addressbook_sql extends so_sql_cf } if (!isset($data['list_carddav_name'])) { - $update['list_carddav_name'] = $data['list_carddav_name'] = $data['list_uid'].'.vcf'; + $update['list_name'] = $data['list_carddav_name'] = $data['list_uid'].'.vcf'; } $this->db->update($this->lists_table,$update,array('list_id'=>$list_id),__LINE__,__FILE__);