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