diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index cfff848f6..9e366e3fd 100644 --- a/inc/common.php +++ b/inc/common.php @@ -631,7 +631,8 @@ function rawWiki($id,$rev=''){ * * @author Andreas Gohr <andi@splitbrain.org> */ -function pageTemplate($id){ +function pageTemplate($data){ + $id = $data[0]; global $conf; global $INFO; $tpl = io_readFile(dirname(wikiFN($id)).'/_template.txt'); |