1
1
Fork 0

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

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]);