aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/session.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-08-28 00:12:53 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-08-28 00:12:53 +0200
commit08c6f56f4bada72b08ed71ee4515ef0150dc354e (patch)
tree085cc8da14ce93260877d63e6a19faaff5ab00c4 /phpBB/phpbb/session.php
parent17421195dfafa182f0f792457ae33369e92a7444 (diff)
parent863d65112b573fa0f0f4e9c09613676e87cda5ed (diff)
downloadforums-08c6f56f4bada72b08ed71ee4515ef0150dc354e.tar
forums-08c6f56f4bada72b08ed71ee4515ef0150dc354e.tar.gz
forums-08c6f56f4bada72b08ed71ee4515ef0150dc354e.tar.bz2
forums-08c6f56f4bada72b08ed71ee4515ef0150dc354e.tar.xz
forums-08c6f56f4bada72b08ed71ee4515ef0150dc354e.zip
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/session.php')
-rw-r--r--phpBB/phpbb/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 12031bda03..518cee4705 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -1602,7 +1602,7 @@ class session
$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'])
+ if ($this->data['user_id'] != ANONYMOUS && isset($config['new_member_post_limit']) && $this->data['user_new'] && $config['new_member_post_limit'] <= $this->data['user_posts'])
{
$this->leave_newly_registered();
}