Merge pull request #6223 from annando/ap-dba-error

Fix for "Unknown column 'guid' in 'field list'"
This commit is contained in:
Hypolite Petovan 2018-12-02 19:18:36 -05:00 committed by GitHub
commit 57695d48b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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