We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2548e5c + b775854 commit 2152462Copy full SHA for 2152462
1 file changed
Handler/UploadHandler.php
@@ -339,11 +339,11 @@ function get_config_bytes($val) {
339
$last = strtolower($val[strlen($val)-1]);
340
switch($last) {
341
case 'g':
342
- $val *= 1024;
+ $val = (int)$val*1024;
343
case 'm':
344
345
case 'k':
346
347
}
348
return $this->fix_integer_overflow($val);
349
0 commit comments