diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-02-15 18:40:43 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-02-15 18:40:43 +0100 |
commit | 4177cb76a32f26e0257caa2aefc18e4ca03a5e5e (patch) | |
tree | 9842ff02edb19b33c685d1787b4f4b2600cb2449 /application/controllers | |
parent | 539fa6b07162a07fc48e3e1b4de075b1d3b39efb (diff) |
add missing message to delete()
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/controllers')
-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."; } |