summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-02-20 20:26:05 +0100
committerMichael Hamann <michael@content-space.de>2013-02-20 20:45:49 +0100
commit00d58927261c5bed6f093ca4aa2064a18139a228 (patch)
tree7a7c4fc9f47e63b3a7e7a71346400b88307cdaf5 /doku.php
parent5737a81e37e630de02f54e4e6304ede226159306 (diff)
downloadrpg-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 '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();