From: Michael Date: Mon, 14 Aug 2017 21:46:58 +0000 (+0000) Subject: Now some more stuff is fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3290ccc779ff70e9a8fb17d438eba9cd6e2f10dc;p=friendica.git Now some more stuff is fixed --- diff --git a/include/identity.php b/include/identity.php index 7ce18309bd..34c0413df0 100644 --- a/include/identity.php +++ b/include/identity.php @@ -49,7 +49,7 @@ function profile_load(App $a, $nickname, $profile = 0, $profiledata = array()) { $pdata = get_profiledata_by_nick($nickname, $user[0]['uid'], $profile); - if (($pdata === false) || (!count($pdata)) && !count($profiledata)) { + if (empty($pdata) && empty($profiledata)) { logger('profile error: ' . $a->query_string, LOGGER_DEBUG); notice( t('Requested profile is not available.') . EOL ); $a->error = 404;