diff --git a/syntax.php b/syntax.php index ce733f7..61a3922 100644 --- a/syntax.php +++ b/syntax.php @@ -126,7 +126,7 @@ public function render($mode, Doku_Renderer $renderer, $data) { * @author Michael Braun */ protected function _parseNS($ns) { - global $ID; + $ID=getID(); if(strpos($ns, '@PAGE@') !== false) { return cleanID(str_replace('@PAGE@', $ID, $ns)); }