summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-30 21:40:56 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-30 21:40:56 +0100
commit96a7df28686b19a424c0c300ab7d5bcbb8829f7c (patch)
tree2024a93f6a2a4e8e1c8cb9b9083c21c198e2bd02
parentb8c78891afde0f5ae2648b70db7532b6919e14ca (diff)
only show error if password was entered
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-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";