From 4177cb76a32f26e0257caa2aefc18e4ca03a5e5e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 15 Feb 2011 18:40:43 +0100 Subject: add missing message to delete() Signed-off-by: Florian Pritz --- application/controllers/file.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application/controllers/file.php') 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."; } -- cgit v1.2.3-24-g4f1b