*grumble*

git-svn-id: file:///svn/phpbb/trunk@7756 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-06-14 15:24:09 +00:00
parent 6813967ae1
commit e5151b0fc6
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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'))

View file

@ -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);
} }

View file

@ -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);
} }