Fixed wrong list id in create_group() method

This commit is contained in:
Aleksander Machniak (Kolab Systems) 2011-11-04 09:35:59 +01:00
parent a0c3d7b7ae
commit b19b61a3cf

View file

@ -768,7 +768,7 @@ class rcube_kolab_contacts extends rcube_addressbook
} }
else { else {
$id = md5($list['uid']); $id = md5($list['uid']);
$this->distlists[$record['ID']] = $list; $this->distlists[$id] = $list;
$result = array('id' => $id, 'name' => $name); $result = array('id' => $id, 'name' => $name);
} }