forked from leftypol/leftypol
Bugfix: non-image file uploading
This commit is contained in:
parent
fa13f0ef35
commit
b5c7e30609
1 changed files with 1 additions and 0 deletions
1
post.php
1
post.php
|
@ -468,6 +468,7 @@ if (isset($_POST['delete'])) {
|
||||||
|
|
||||||
if ($config['redraw_image']) {
|
if ($config['redraw_image']) {
|
||||||
$image->to($post['file']);
|
$image->to($post['file']);
|
||||||
|
} else {
|
||||||
$dont_copy_file = true;
|
$dont_copy_file = true;
|
||||||
}
|
}
|
||||||
$image->destroy();
|
$image->destroy();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue