X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FProfile.php;h=d27faaf5cd7d08fcfad4ae655f12a845277dcab1;hb=073695b33c5f9c5d89d91958b09259c59e12dd98;hp=a3dcc60b1c278a2d160a9327a76c63652377ede6;hpb=d322e9288bedd2c10a12e4df901997350c855fdd;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index a3dcc60b1c..d27faaf5cd 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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 (!isset($profile['account_removed']) || $profile['account_removed']) { Logger::info('profile error: ' . DI::args()->getQueryString()); return []; }