1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Bugfix: non-image file uploading

This commit is contained in:
Michael Save 2012-04-20 19:04:37 +10:00
parent fa13f0ef35
commit b5c7e30609

View File

@ -468,6 +468,7 @@ if (isset($_POST['delete'])) {
if ($config['redraw_image']) {
$image->to($post['file']);
} else {
$dont_copy_file = true;
}
$image->destroy();