diff options
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r-- | application/controllers/file.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index e99e532ce..29ff24ca1 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -104,6 +104,9 @@ class File extends CI_Controller { $data["msg"] = "Deletion failed. Is the password correct?"; } } else { + if ($this->var->cli_client) { + $data["msg"] = "No password supplied."; + } if ($id && !$this->file_mod->id_exists($id)) { $data["msg"] = "Unkown ID."; } |