mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
*grumble*
git-svn-id: file:///svn/phpbb/trunk@7756 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2172,7 +2172,7 @@ function avatar_process_user(&$error, $custom_userdata = false)
|
||||
$sql_ary['user_avatar'] = '';
|
||||
$sql_ary['user_avatar_type'] = $sql_ary['user_avatar_width'] = $sql_ary['user_avatar_height'] = 0;
|
||||
}
|
||||
elseif (!empty($userdata['user_avatar']))
|
||||
else if (!empty($userdata['user_avatar']))
|
||||
{
|
||||
// Only update the dimensions
|
||||
|
||||
|
@@ -1520,7 +1520,7 @@ class user extends session
|
||||
$this->data['session_viewonline'] = 1;
|
||||
}
|
||||
}
|
||||
elseif (!$this->data['user_allow_viewonline'])
|
||||
else if (!$this->data['user_allow_viewonline'])
|
||||
{
|
||||
// the user wants to hide and is allowed to -> cloaking device on.
|
||||
if ($auth->acl_get('u_hideonline'))
|
||||
|
Reference in New Issue
Block a user