Permalink
Browse files

[ticket/10345] Remove doubled check for valid plural rule

PHPBB3-10345
  • Loading branch information...
1 parent b790d2e commit b195fce0a47932775dfd47159c6f40509318dbaf @nickvergessen nickvergessen committed Nov 30, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 phpBB/includes/session.php
@@ -1925,10 +1925,6 @@ function get_plural_form($number, $force_rule = false)
// 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);
}

0 comments on commit b195fce

Please sign in to comment.