summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-20 19:04:37 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-05-05 18:11:45 +1000
commitb5c7e3060908efd822f696286f8c35d415fa59ec (patch)
treee96fef35896dc20bae08c624abb6eb0e15a16579 /post.php
parentfa13f0ef35c8da2e01618c5289ecbb082bb54e73 (diff)
Bugfix: non-image file uploading
Diffstat (limited to 'post.php')
-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();