git-svn-id: file:///svn/phpbb/trunk@7154 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-03-09 16:24:58 +00:00
parent ed7d92753e
commit 6fa7bec4ed

View file

@ -372,11 +372,11 @@ switch ($mode)
// Normal users are able to see at least users having only changed their profile settings but not yet re-activated.
if (!$auth->acl_get('a_user') && $user->data['user_type'] != USER_FOUNDER)
{
if ($row['user_type'] == USER_IGNORE)
if ($member['user_type'] == USER_IGNORE)
{
trigger_error('NO_USER');
}
else if ($row['user_type'] == USER_INACTIVE && $row['user_inactive_reason'] != INACTIVE_PROFILE)
else if ($member['user_type'] == USER_INACTIVE && $member['user_inactive_reason'] != INACTIVE_PROFILE)
{
trigger_error('NO_USER');
}