summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/doku.php b/doku.php
index 891ac4c17..3963a5aa0 100644
--- a/doku.php
+++ b/doku.php
@@ -51,10 +51,8 @@ $REV = preg_replace('/[^0-9]/','',$REV);
$INFO = pageinfo();
//export minimal infos to JS, plugins can add more
-$JSINFO = array(
- 'id' => $ID,
- 'namespace' => (string) $INFO['namespace']
-);
+$JSINFO['id'] = $ID;
+$JSINFO['namespace'] = (string) $INFO['namespace'];
// handle debugging