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();