Avoid database error that the field "guid" is not present in the contact table
This commit is contained in:
parent
00011dfeae
commit
2fd65503da
|
@ -599,6 +599,7 @@ class Receiver
|
||||||
$photo = defaults($profile, 'photo', null);
|
$photo = defaults($profile, 'photo', null);
|
||||||
unset($profile['photo']);
|
unset($profile['photo']);
|
||||||
unset($profile['baseurl']);
|
unset($profile['baseurl']);
|
||||||
|
unset($profile['guid']);
|
||||||
|
|
||||||
$profile['nurl'] = Strings::normaliseLink($profile['url']);
|
$profile['nurl'] = Strings::normaliseLink($profile['url']);
|
||||||
DBA::update('contact', $profile, ['id' => $cid]);
|
DBA::update('contact', $profile, ['id' => $cid]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user