1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #4176 from Elsensee/ticket/14409

[ticket/14409] Update session page info before displaying online list
This commit is contained in:
Joas Schilling
2016-02-13 16:45:04 +01:00
4 changed files with 8 additions and 4 deletions

View File

@@ -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();