summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 2c68114a7..56928015f 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -90,6 +90,7 @@ class File extends MY_Controller {
$is_multipaste = true;
if(!$this->mmultipaste->valid_id($id)) {
+ $this->mmultipaste->delete_id($id);
return $this->_non_existent();
}
$files = $this->mmultipaste->get_files($id);