diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-12-05 19:15:34 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-05 19:15:34 +0100 |
commit | 3322117c3863c443ca1b79d25541bde4c662c0ed (patch) | |
tree | 3d4245baccea6c462f1c3a22929e435aa365baa9 /phpBB | |
parent | 533d2b90b8bdb06a75d212c21809ac0ecf79e5b8 (diff) | |
parent | 591eff9e78594b7a95203b5bb44ac2883280a9db (diff) | |
download | forums-3322117c3863c443ca1b79d25541bde4c662c0ed.tar forums-3322117c3863c443ca1b79d25541bde4c662c0ed.tar.gz forums-3322117c3863c443ca1b79d25541bde4c662c0ed.tar.bz2 forums-3322117c3863c443ca1b79d25541bde4c662c0ed.tar.xz forums-3322117c3863c443ca1b79d25541bde4c662c0ed.zip |
Merge pull request #4559 from javiexin/ticket/14890
[ticket/14890] Typo in input validation of profile fields of type string
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_string.php | 2 |
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>'), ); |