summaryrefslogtreecommitdiffstats
path: root/system/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-30 21:37:05 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-30 21:37:05 +0100
commitb8c78891afde0f5ae2648b70db7532b6919e14ca (patch)
treed31fa393424c2fb53c19eb863fcec4c8909a80b6 /system/application
parent0ec90fd7bb857d3986fdd91b3b74edb4931107d1 (diff)
use model to get the password when deleting
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application')
-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 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) {