From b5c7e3060908efd822f696286f8c35d415fa59ec Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 20 Apr 2012 19:04:37 +1000 Subject: [PATCH] Bugfix: non-image file uploading --- post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/post.php b/post.php index b4a256a5..e4eadffb 100644 --- a/post.php +++ b/post.php @@ -468,6 +468,7 @@ if (isset($_POST['delete'])) { if ($config['redraw_image']) { $image->to($post['file']); + } else { $dont_copy_file = true; } $image->destroy();