Avoid database error that the field "guid" is not present in the contact table

2022.09-rc
Michael 2018-12-02 15:01:08 +00:00
rodzic 00011dfeae
commit 2fd65503da
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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