aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/session.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 52eecd695e..eb84cd81fe 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1925,10 +1925,6 @@ class user extends session
// Default to English system
$plural_rule = ($force_rule !== false) ? $force_rule : ((isset($this->lang['PLURAL_RULE'])) ? $this->lang['PLURAL_RULE'] : 1);
- if ($plural_rule > 15 || $plural_rule < 0)
- {
- trigger_error('INVALID_PLURAL_RULE');
- }
return phpbb_get_plural_form($plural_rule, $number);
}