summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index 3ee6101ea..40a5c9016 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -44,7 +44,7 @@ class File extends Controller {
$this->file_mod->download();
} elseif ($this->var->cli_client) {
die("No upload or unknown ID requested.\n");
- } elseif ($id != "file") {
+ } elseif ($id && $id != "file") {
$this->file_mod->non_existent();
} else {
$this->upload_form();