aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_attachments.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-02-03 22:03:31 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-02-03 22:03:31 +0100
commitb39b3da5af89d9687ff5e985244695131d36c753 (patch)
treee723d7d74e84fc9b5cfb8dbe70fbe4bebbafcba2 /phpBB/includes/acp/acp_attachments.php
parentc9541e07952eec73099701082bc1317ef2bd4c56 (diff)
downloadforums-b39b3da5af89d9687ff5e985244695131d36c753.tar
forums-b39b3da5af89d9687ff5e985244695131d36c753.tar.gz
forums-b39b3da5af89d9687ff5e985244695131d36c753.tar.bz2
forums-b39b3da5af89d9687ff5e985244695131d36c753.tar.xz
forums-b39b3da5af89d9687ff5e985244695131d36c753.zip
[ticket/14272] Allow input of floats for filesize
This might be needed while switching the default input from KiB to MiB or similar changes to settings. PHPBB3-14272
Diffstat (limited to 'phpBB/includes/acp/acp_attachments.php')
-rw-r--r--phpBB/includes/acp/acp_attachments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index 7e348aa45b..8e8ace8337 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -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" max="999999999999999" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
+ 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>';
}
/**