mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
Issue 11470: Check for removed account
This commit is contained in:
parent
c7608983dc
commit
4ef7f42257
3 changed files with 3 additions and 3 deletions
|
@ -220,7 +220,7 @@ class Profile
|
|||
public static function load(App $a, string $nickname, bool $show_contacts = true)
|
||||
{
|
||||
$profile = User::getOwnerDataByNick($nickname);
|
||||
if (empty($profile)) {
|
||||
if (empty($profile) || $profile['account_removed']) {
|
||||
Logger::info('profile error: ' . DI::args()->getQueryString());
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue