From: Michael Date: Sun, 2 Dec 2018 15:01:08 +0000 (+0000) Subject: Avoid database error that the field "guid" is not present in the contact table X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2fd65503dab4653d8169a39ae7cdf9f9a329473e;p=friendica.git Avoid database error that the field "guid" is not present in the contact table --- diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index c074e49f6c..7fe1f128f4 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -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]);