Avoid database error that the field "guid" is not present in the contact table

This commit is contained in:
Michael 2018-12-02 15:01:08 +00:00
parent 00011dfeae
commit 2fd65503da
1 changed files with 1 additions and 0 deletions

View File

@ -599,6 +599,7 @@ class Receiver
$photo = defaults($profile, 'photo', null);
unset($profile['photo']);
unset($profile['baseurl']);
unset($profile['guid']);
$profile['nurl'] = Strings::normaliseLink($profile['url']);
DBA::update('contact', $profile, ['id' => $cid]);