]> git.mxchange.org Git - friendica.git/commitdiff
Avoid database error that the field "guid" is not present in the contact table
authorMichael <heluecht@pirati.ca>
Sun, 2 Dec 2018 15:01:08 +0000 (15:01 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 2 Dec 2018 15:01:08 +0000 (15:01 +0000)
src/Protocol/ActivityPub/Receiver.php

index c074e49f6c8d95b1ddd9fb2067174fb08ca9270b..7fe1f128f496b746efbed1bd24ccf854964913d6 100644 (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]);