aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-08-28 00:12:43 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-08-28 00:12:43 +0200
commit863d65112b573fa0f0f4e9c09613676e87cda5ed (patch)
tree31c932c22ecc91254104ab4d7bf213ad4626c0af /phpBB/phpbb
parenta36f96aefad215832a6a47d034bcf3e72abd20b5 (diff)
parent559325fbd674aedf681272d13fe81b34d39d3763 (diff)
downloadforums-863d65112b573fa0f0f4e9c09613676e87cda5ed.tar
forums-863d65112b573fa0f0f4e9c09613676e87cda5ed.tar.gz
forums-863d65112b573fa0f0f4e9c09613676e87cda5ed.tar.bz2
forums-863d65112b573fa0f0f4e9c09613676e87cda5ed.tar.xz
forums-863d65112b573fa0f0f4e9c09613676e87cda5ed.zip
Merge pull request #3659 from Elsensee/ticket/12230
[ticket/12230] Disable newly registered group when post limit is set to 0
Diffstat (limited to 'phpBB/phpbb')
-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 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();
}