mirror of
https://github.com/friendica/friendica
synced 2024-11-19 18:23:41 +00:00
Issue 5010: Don't show removed users
This commit is contained in:
parent
44caf05f06
commit
4a67919be7
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Profile
|
|||
*/
|
||||
public static function load(App $a, $nickname, $profile = 0, $profiledata = [], $show_connect = true)
|
||||
{
|
||||
$user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname]);
|
||||
$user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname, 'account_removed' => false]);
|
||||
|
||||
if (!DBM::is_result($user) && empty($profiledata)) {
|
||||
logger('profile error: ' . $a->query_string, LOGGER_DEBUG);
|
||||
|
|
Loading…
Reference in a new issue