1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 07:35:29 +02:00

*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_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

View File

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

View File

@ -187,7 +187,7 @@ if (!$get_info)
$src_db->sql_freeresult($result);
}
elseif ($result)
else if ($result)
{
$src_db->sql_freeresult($result);
}

View File

@ -113,11 +113,11 @@ if (!empty($mem_limit ))
{
$mem_limit = floor($mem_limit/1024);
}
elseif ($unit == 'g')
else if ($unit == 'g')
{
$mem_limit *= 1024;
}
elseif (is_numeric($unit))
else if (is_numeric($unit))
{
$mem_limit = floor($mem_limit/1048576);
}