summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2014-05-17 15:47:15 -0400
committerFredrick Brennan <admin@8chan.co>2014-05-17 15:47:15 -0400
commitc1bc5778dd9012a8cf8064a25969dc9e16c5a924 (patch)
tree23c881c0974b76697445d74a5bb54a600a6e5e7c /post.php
parentea47e000f4715e886e796f3021c579a8aa80b290 (diff)
Derp, filesize was always being based on first file
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/post.php b/post.php
index 9d63d7fa..ba6a7a73 100644
--- a/post.php
+++ b/post.php
@@ -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),