aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_attachments.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-27 09:59:25 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-03-27 09:59:25 +0200
commit1600d82b772f419aca8b35d9d404440fecc7a483 (patch)
tree7c17ce1fc66bafec9b82d788f2d81b2a654248ce /phpBB/includes/acp/acp_attachments.php
parent4db229ff6c6c260e4fdb26449b391f3858c9479a (diff)
parentb39b3da5af89d9687ff5e985244695131d36c753 (diff)
downloadforums-1600d82b772f419aca8b35d9d404440fecc7a483.tar
forums-1600d82b772f419aca8b35d9d404440fecc7a483.tar.gz
forums-1600d82b772f419aca8b35d9d404440fecc7a483.tar.bz2
forums-1600d82b772f419aca8b35d9d404440fecc7a483.tar.xz
forums-1600d82b772f419aca8b35d9d404440fecc7a483.zip
Merge remote-tracking branch 'origin/ticket/14272' into ticket/14272-3.2.x
Conflicts: phpBB/adm/style/acp_icons.html phpBB/includes/acp/acp_groups.php phpBB/includes/acp/acp_users.php phpBB/includes/functions_acp.php phpBB/includes/ucp/ucp_groups.php phpBB/styles/prosilver/template/ucp_avatar_options_gravatar.html phpBB/styles/prosilver/template/ucp_avatar_options_remote.html phpBB/styles/subsilver2/template/mcp_topic.html phpBB/styles/subsilver2/template/posting_attach_body.html phpBB/styles/subsilver2/template/posting_body.html phpBB/styles/subsilver2/template/posting_poll_body.html phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
Diffstat (limited to 'phpBB/includes/acp/acp_attachments.php')
-rw-r--r--phpBB/includes/acp/acp_attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index 6e9360f599..ab413bf1d7 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -1744,8 +1744,8 @@ class acp_attachments
$size_var = $filesize['si_identifier'];
$value = $filesize['value'];
- // size="8" and maxlength="15" attributes as a fallback for browsers that do not support type="number" yet.
- return '<input type="number" id="' . $key . '" size="8" maxlength="15" min="0" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
+ // size and maxlength must not be specified for input of type number
+ return '<input type="number" id="' . $key . '" min="0" max="999999999999999" step="any" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
}
/**