diff options
author | Michael Hamann <michael@content-space.de> | 2013-02-20 20:26:05 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-02-20 20:45:49 +0100 |
commit | 00d58927261c5bed6f093ca4aa2064a18139a228 (patch) | |
tree | 7a7c4fc9f47e63b3a7e7a71346400b88307cdaf5 /lib/plugins/plugin/admin.php | |
parent | 5737a81e37e630de02f54e4e6304ede226159306 (diff) | |
download | rpg-00d58927261c5bed6f093ca4aa2064a18139a228.tar.gz rpg-00d58927261c5bed6f093ca4aa2064a18139a228.tar.bz2 |
Fix remaining missing $INPUT uses FS#2577
This adds $INPUT in all places where it was still missing and available.
$INPUT is now also used in places where using $_REQUEST/... was okay in
order to make the code consistent.
Diffstat (limited to 'lib/plugins/plugin/admin.php')
-rw-r--r-- | lib/plugins/plugin/admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php index 8b1ee3c7d..de4de6aef 100644 --- a/lib/plugins/plugin/admin.php +++ b/lib/plugins/plugin/admin.php @@ -61,11 +61,12 @@ class admin_plugin_plugin extends DokuWiki_Admin_Plugin { * handle user request */ function handle() { + global $INPUT; // enable direct access to language strings $this->setupLocale(); - $fn = $_REQUEST['fn']; + $fn = $INPUT->param('fn'); if (is_array($fn)) { $this->cmd = key($fn); $this->plugin = is_array($fn[$this->cmd]) ? key($fn[$this->cmd]) : null; |