Issue 11470: Check for removed account

This commit is contained in:
Michael 2022-05-28 16:21:41 +00:00
parent c7608983dc
commit 4ef7f42257
3 changed files with 3 additions and 3 deletions

View file

@ -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 [];
}