mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
0ce94b75f5
The inputted value is intended to represent megabytes, but is only multiplied by 1024 - meaning it'd represent kilobytes. This is then used to compare with the PHP setting number, which is bytes in the range of megabytes. Kilobytes are always under megabytes, meaning size comparisons elsewhere in the code are always true. We should ensure the calculation for validation is correct. |
||
---|---|---|
.. | ||
Control | ||
Extension | ||
Form | ||
FormField | ||
Model | ||
Modifier | ||
Task | ||
UserForm.php |