mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
commit
d41cb3f3e6
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ class Account extends BaseFactory
|
|||
$userContact = [];
|
||||
}
|
||||
|
||||
if (empty($publicContact)) {
|
||||
throw new HTTPException\NotFoundException('Contact ' . $contactId . ' not found');
|
||||
}
|
||||
|
||||
$apcontact = APContact::getByURL($publicContact['url'], false);
|
||||
|
||||
$self_contact = Contact::selectFirst(['uid'], ['nurl' => $publicContact['nurl'], 'self' => true]);
|
||||
|
|
Loading…
Reference in a new issue