aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2016-02-13 14:57:04 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2016-02-13 15:58:05 +0100
commit1bd4895d7ac933257ccad48d01245025e663c197 (patch)
tree61d5c515fc418b99e32839464d6c63896e4a408f /phpBB/phpbb
parentad5d4f6bc3a061452d415ce0ee5929e33566f29b (diff)
downloadforums-1bd4895d7ac933257ccad48d01245025e663c197.tar
forums-1bd4895d7ac933257ccad48d01245025e663c197.tar.gz
forums-1bd4895d7ac933257ccad48d01245025e663c197.tar.bz2
forums-1bd4895d7ac933257ccad48d01245025e663c197.tar.xz
forums-1bd4895d7ac933257ccad48d01245025e663c197.zip
[ticket/14409] Update session page info before displaying online list
PHPBB3-14409
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/session.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 6cff75c62c..83e87b7704 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -1583,6 +1583,8 @@ class session
$db->sql_return_on_error(false);
+ $this->data = array_merge($this->data, $sql_ary);
+
if ($this->data['user_id'] != ANONYMOUS && !empty($config['new_member_post_limit']) && $this->data['user_new'] && $config['new_member_post_limit'] <= $this->data['user_posts'])
{
$this->leave_newly_registered();