diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-05-17 16:56:42 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-05-17 16:56:42 +0200 |
commit | 559325fbd674aedf681272d13fe81b34d39d3763 (patch) | |
tree | 12830019c6a495632a3e2062310d9aa50fc3d161 /phpBB/phpbb | |
parent | e7262e2d39feb7946710f6ae4bb17aac67f26204 (diff) | |
download | forums-559325fbd674aedf681272d13fe81b34d39d3763.tar forums-559325fbd674aedf681272d13fe81b34d39d3763.tar.gz forums-559325fbd674aedf681272d13fe81b34d39d3763.tar.bz2 forums-559325fbd674aedf681272d13fe81b34d39d3763.tar.xz forums-559325fbd674aedf681272d13fe81b34d39d3763.zip |
[ticket/12230] Remove users from new users group when post limit is 0
PHPBB3-12230
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index 83e87b7704..33d8df9cb8 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -1585,7 +1585,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(); } |