mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Merge pull request #11748 from Quix0r/fixes/e_notice-account_removed
Fixed E_NOTICE, for some strange reason 'account_removed' isn't around?
This commit is contained in:
commit
4a11773d7e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class Profile
|
|||
public static function load(App $a, string $nickname, bool $show_contacts = true)
|
||||
{
|
||||
$profile = User::getOwnerDataByNick($nickname);
|
||||
if (empty($profile) || $profile['account_removed']) {
|
||||
if (empty($profile) || !isset($profile['account_removed']) || $profile['account_removed']) {
|
||||
Logger::info('profile error: ' . DI::args()->getQueryString());
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue