mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +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'] = '';
|
||||||
$sql_ary['user_avatar_type'] = $sql_ary['user_avatar_width'] = $sql_ary['user_avatar_height'] = 0;
|
$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
|
// Only update the dimensions
|
||||||
|
|
||||||
|
@@ -1520,7 +1520,7 @@ class user extends session
|
|||||||
$this->data['session_viewonline'] = 1;
|
$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.
|
// the user wants to hide and is allowed to -> cloaking device on.
|
||||||
if ($auth->acl_get('u_hideonline'))
|
if ($auth->acl_get('u_hideonline'))
|
||||||
|
@@ -187,7 +187,7 @@ if (!$get_info)
|
|||||||
|
|
||||||
$src_db->sql_freeresult($result);
|
$src_db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
elseif ($result)
|
else if ($result)
|
||||||
{
|
{
|
||||||
$src_db->sql_freeresult($result);
|
$src_db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
|
@@ -113,11 +113,11 @@ if (!empty($mem_limit ))
|
|||||||
{
|
{
|
||||||
$mem_limit = floor($mem_limit/1024);
|
$mem_limit = floor($mem_limit/1024);
|
||||||
}
|
}
|
||||||
elseif ($unit == 'g')
|
else if ($unit == 'g')
|
||||||
{
|
{
|
||||||
$mem_limit *= 1024;
|
$mem_limit *= 1024;
|
||||||
}
|
}
|
||||||
elseif (is_numeric($unit))
|
else if (is_numeric($unit))
|
||||||
{
|
{
|
||||||
$mem_limit = floor($mem_limit/1048576);
|
$mem_limit = floor($mem_limit/1048576);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user