summaryrefslogtreecommitdiffstats
path: root/system/application
diff options
context:
space:
mode:
Diffstat (limited to 'system/application')
-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 e93ffa6d7..1d32bd07a 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -91,7 +91,7 @@ class File extends Controller {
$password = $this->file_mod->get_password();
$data["title"] = "Delete";
$data["id"] = $id;
- if ($password) {
+ if ($password != "NULL") {
if ($this->file_mod->delete_id($id, $password)) {
if ($this->var->cli_client) {
echo $id." deleted\n";