aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_user.php2
-rw-r--r--phpBB/includes/session.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 08ccfa030f..50e84fca84 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 4f1732f30c..54f0167ab2 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -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'))