1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Add missing indexes to address book array

This commit is contained in:
Thomas Tanghus 2013-08-20 19:01:56 +02:00
parent 055c04bfac
commit 26cfb42e3a

View File

@ -235,7 +235,8 @@ class Database extends AbstractBackend {
$updates['id'] = $newid;
$updates['ctag'] = $ctag;
$updates['lastmodified'] = $ctag;
$this->addressbooks[$addressbookid] = $updates;
$updates['permissions'] = \OCP\PERMISSION_ALL;
$this->addressbooks[$newid] = $updates;
}
return $newid;
}