fix avatar/files update issues

This commit is contained in:
Ralf Becker
2017-11-29 09:58:36 +08:00
parent b40fd0a8eb
commit dd4ae60fa2
4 changed files with 28 additions and 15 deletions

View File

@ -994,6 +994,7 @@ class Contacts extends Contacts\Storage
$contact['id'] = $to_write['id'];
$contact['uid'] = $to_write['uid'];
$contact['etag'] = $to_write['etag'];
$contact['files'] = $to_write['files'];
// Clear any files saved with new entries
// They've been dealt with already and they cause errors with linking

View File

@ -575,6 +575,7 @@ class Storage
$contact['id'] = $this->somain->data['id'];
$contact['uid'] = $this->somain->data['uid'];
$contact['etag'] = $this->somain->data['etag'];
$contact['files'] = $this->somain->data['files'];
if ($this->contact_repository == 'sql-ldap')
{