summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post.php1
1 files changed, 1 insertions, 0 deletions
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();