Merge pull request #6223 from annando/ap-dba-error
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 3 Dec 2018 00:18:36 +0000 (19:18 -0500)
committerGitHub <noreply@github.com>
Mon, 3 Dec 2018 00:18:36 +0000 (19:18 -0500)
Fix for "Unknown column 'guid' in 'field list'"

src/Protocol/ActivityPub/Receiver.php

index c074e49..7fe1f12 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]);