summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-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 44f691dec..5fe8a124e 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -174,6 +174,7 @@ class File extends CI_Controller {
}
if ($id && !$this->file_mod->id_exists($id)) {
+ $this->output->set_status_header(404);
$data["msg"] = "Unknown ID.";
} elseif ($password != "NULL") {
if ($this->file_mod->delete_id($id)) {