summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index ca8132ba..b3842604 100644
--- a/post.php
+++ b/post.php
@@ -201,7 +201,7 @@
$id = post($post, $OP);
- if($post['zip']) {
+ if($post['has_file'] && $post['zip']) {
// Open ZIP
$zip = zip_open($post['zip']);
// Read files