forked from leftypol/leftypol
minor bug
This commit is contained in:
parent
abb98de543
commit
9a5b9f205e
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -201,7 +201,7 @@
|
||||||
|
|
||||||
$id = post($post, $OP);
|
$id = post($post, $OP);
|
||||||
|
|
||||||
if($post['zip']) {
|
if($post['has_file'] && $post['zip']) {
|
||||||
// Open ZIP
|
// Open ZIP
|
||||||
$zip = zip_open($post['zip']);
|
$zip = zip_open($post['zip']);
|
||||||
// Read files
|
// Read files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue