summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index d0b1d3e85..0d96be214 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1476,10 +1476,8 @@ function tpl_include_page($pageid, $print = true, $propagate = false) {
if ($propagate) $pageid = page_findnearest($pageid);
- $oldid = $ID;
$oldtoc = $TOC;
$html = p_wiki_xhtml($pageid, '', false);
- $ID = $oldid;
$TOC = $oldtoc;
if(!$print) return $html;