From b8c78891afde0f5ae2648b70db7532b6919e14ca Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 30 Dec 2010 21:37:05 +0100 Subject: use model to get the password when deleting Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/application/controllers/file.php') diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index 4fed02599..e93ffa6d7 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -88,7 +88,7 @@ class File extends Controller { { $data = array(); $id = $this->uri->segment(3); - $password = $this->input->post('password'); + $password = $this->file_mod->get_password(); $data["title"] = "Delete"; $data["id"] = $id; if ($password) { -- cgit v1.2.3-24-g4f1b