From 15f290b34fe46525cd2a14ecc23f0fa0cf61c387 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();