1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/14272] Fix invalid or missing min/max settings

PHPBB3-14272
This commit is contained in:
Marc Alexander
2015-11-06 10:31:56 +01:00
parent be5a40f6a9
commit 685449bfe3
4 changed files with 5 additions and 5 deletions

View File

@@ -1736,7 +1736,7 @@ class acp_attachments
$value = $filesize['value'];
// size and maxlength must not be specified for input of type number
return '<input type="number" id="' . $key . '" min="0" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
return '<input type="number" id="' . $key . '" min="0" max="999999999999999" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
}
/**