fix SQL Error when inserting/updating carddav lists

This commit is contained in:
Klaus Leithoff 2012-11-26 09:44:36 +00:00
parent 2fed3637be
commit 41221a5d72

View File

@ -549,7 +549,7 @@ class addressbook_sql extends so_sql_cf
} }
if (!isset($data['list_carddav_name'])) 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__); $this->db->update($this->lists_table,$update,array('list_id'=>$list_id),__LINE__,__FILE__);