summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_modules.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/admin_modules.php')
-rw-r--r--modules/gallery/controllers/admin_modules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_modules.php b/modules/gallery/controllers/admin_modules.php
index af6dbbdc..549718e7 100644
--- a/modules/gallery/controllers/admin_modules.php
+++ b/modules/gallery/controllers/admin_modules.php
@@ -37,7 +37,7 @@ class Admin_Modules_Controller extends Admin_Controller {
continue;
}
- $desired = $this->input->post($module_name) == 1;
+ $desired = Input::instance()->post($module_name) == 1;
if ($info->active && !$desired && module::is_active($module_name)) {
$changes->deactivate[] = $module_name;
$deactivated_names[] = t($info->name);