1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Derp, filesize was always being based on first file

This commit is contained in:
Fredrick Brennan 2014-05-17 15:47:15 -04:00
parent ea47e000f4
commit c1bc5778dd

View File

@ -385,7 +385,6 @@ if (isset($_POST['delete'])) {
error(_('Unrecognized file size determination method.'));
}
$size = $_FILES['file']['size'];
if ($size > $config['max_filesize'])
error(sprintf3($config['error']['filesize'], array(
'sz' => number_format($size),