summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 19:26:31 +1100
committerPaul Merrill <napalminc@gmail.com>2010-12-01 04:14:16 -0800
commit9a5b9f205e15ce5908d358ef69b6fe8a995b4363 (patch)
treea845664453b30a0dc29c4a70636b48e4edd32fe8 /post.php
parentabb98de54371ffbb31819d18c5cec826298ad79d (diff)
minor bug
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