mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:43:41 +00:00
Fix missing field
This commit is contained in:
parent
38ed5c943d
commit
b82f22aa0e
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ class Contact
|
|||
*/
|
||||
public static function updateAvatar(int $cid, string $avatar, bool $force = false)
|
||||
{
|
||||
$contact = DBA::selectFirst('contact', ['uid', 'avatar', 'photo', 'thumb', 'micro', 'nurl'], ['id' => $cid, 'self' => false]);
|
||||
$contact = DBA::selectFirst('contact', ['uid', 'avatar', 'photo', 'thumb', 'micro', 'nurl', 'url'], ['id' => $cid, 'self' => false]);
|
||||
if (!DBA::isResult($contact)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue