aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index b03bc16588..ebc8852beb 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -543,7 +543,6 @@ class session
$SID = '?sid=';
$_SID = '';
-
return true;
}
else
@@ -1508,7 +1507,7 @@ class user extends session
}
// Make sure the user is able to hide his session
- if (if isset($this->data['session_viewonline']) && !$this->data['session_viewonline'])
+ if (isset($this->data['session_viewonline']) && !$this->data['session_viewonline'])
{
// Reset online status if not allowed to hide the session...
if (!$auth->acl_get('u_hideonline'))