diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-12-07 17:19:43 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-12-07 17:19:43 +0100 |
commit | 4a1e6699f3adec3eba6281d5211f6b399a0fbfba (patch) | |
tree | 4e9d0dc173892c408ea4d918162e59109a1242bc /system/application/controllers | |
parent | 92147fa2d0d3f5f223e5e7d7eddd4e5362b4407f (diff) |
catch empty id
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers')
-rw-r--r-- | system/application/controllers/file.php | 2 |
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(); |