]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Funkwhale context file moved
[friendica.git] / src / Model / Profile.php
index db79134fbd07e34aa71416ff531470ecc1739ddc..d27faaf5cd7d08fcfad4ae655f12a845277dcab1 100644 (file)
@@ -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 [];
                }