aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-15 16:52:54 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-15 16:52:54 +0000
commitdb1014f02d4b7d68ecf7a3b938921e473b97c15b (patch)
tree14a67200e9b268020cfdb3a2c6e01de7fe6b63d1
parent87c4ec75e38b2433dc84b1c0d12ed04d9a8409a8 (diff)
downloadforums-db1014f02d4b7d68ecf7a3b938921e473b97c15b.tar
forums-db1014f02d4b7d68ecf7a3b938921e473b97c15b.tar.gz
forums-db1014f02d4b7d68ecf7a3b938921e473b97c15b.tar.bz2
forums-db1014f02d4b7d68ecf7a3b938921e473b97c15b.tar.xz
forums-db1014f02d4b7d68ecf7a3b938921e473b97c15b.zip
well, oops.
#12441 git-svn-id: file:///svn/phpbb/trunk@7761 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 54f0167ab2..b03bc16588 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1508,7 +1508,7 @@ class user extends session
}
// Make sure the user is able to hide his session
- if (!$this->data['session_viewonline'])
+ if (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'))