aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2016-12-05 18:35:16 +0100
committerjaviexin <javiexin@gmail.com>2016-12-05 18:35:16 +0100
commit591eff9e78594b7a95203b5bb44ac2883280a9db (patch)
tree3d4245baccea6c462f1c3a22929e435aa365baa9 /phpBB
parent533d2b90b8bdb06a75d212c21809ac0ecf79e5b8 (diff)
downloadforums-591eff9e78594b7a95203b5bb44ac2883280a9db.tar
forums-591eff9e78594b7a95203b5bb44ac2883280a9db.tar.gz
forums-591eff9e78594b7a95203b5bb44ac2883280a9db.tar.bz2
forums-591eff9e78594b7a95203b5bb44ac2883280a9db.tar.xz
forums-591eff9e78594b7a95203b5bb44ac2883280a9db.zip
[ticket/14890] Typo in input validation of profile fields of type string
This bug was introduced by PHPBB3-14272 PHPBB3-14890
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/profilefields/type/type_string.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_string.php b/phpBB/phpbb/profilefields/type/type_string.php
index a8432eaae5..8710c8c603 100644
--- a/phpBB/phpbb/profilefields/type/type_string.php
+++ b/phpBB/phpbb/profilefields/type/type_string.php
@@ -63,7 +63,7 @@ class type_string extends type_string_common
$options = array(
0 => array('TITLE' => $this->user->lang['FIELD_LENGTH'], 'FIELD' => '<input type="number" min="0" max="99999" name="field_length" value="' . $field_data['field_length'] . '" />'),
1 => array('TITLE' => $this->user->lang['MIN_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" max="99999" name="field_minlen" value="' . $field_data['field_minlen'] . '" />'),
- 2 => array('TITLE' => $this->user->lang['MAX_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0 max="99999"" name="field_maxlen" value="' . $field_data['field_maxlen'] . '" />'),
+ 2 => array('TITLE' => $this->user->lang['MAX_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" max="99999" name="field_maxlen" value="' . $field_data['field_maxlen'] . '" />'),
3 => array('TITLE' => $this->user->lang['FIELD_VALIDATION'], 'FIELD' => '<select name="field_validation">' . $this->validate_options($field_data) . '</select>'),
);