summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/post.php b/post.php
index e10f3b4e..a1d32f27 100644
--- a/post.php
+++ b/post.php
@@ -123,6 +123,7 @@
if($post['zip']) {
// Validate ZIP file
if(is_resource($zip = zip_open($post['zip'])))
+ // TODO: Check if it's not empty and has at least one (valid) image
zip_close($zip);
else
error(ERR_INVALIDZIP);