summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-02-20 20:26:05 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-02-24 12:39:02 +0000
commit9507770d8c13e47b975bf35fe25264448da3f28a (patch)
tree2f2f816e5e426ccf935f4f00a2fea7a31a1f1a2b /doku.php
parente8baa2279f46cfaaf18a54d75c1329d266a4ca47 (diff)
downloadrpg-9507770d8c13e47b975bf35fe25264448da3f28a.tar.gz
rpg-9507770d8c13e47b975bf35fe25264448da3f28a.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 'doku.php')
-rw-r--r--doku.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 607303ca4..68976ebb3 100644
--- a/doku.php
+++ b/doku.php
@@ -29,7 +29,7 @@ if(isset($_SERVER['HTTP_X_DOKUWIKI_DO'])) {
require_once(DOKU_INC.'inc/init.php');
//import variables
-$_REQUEST['id'] = str_replace("\xC2\xAD", '', $INPUT->str('id')); //soft-hyphen
+$INPUT->set('id', str_replace("\xC2\xAD", '', $INPUT->str('id'))); //soft-hyphen
$QUERY = trim($INPUT->str('id'));
$ID = getID();