diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-16 02:05:15 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-16 02:05:15 +0200 |
commit | b7d5a5f06d3e336fcc46ccebff28de2b214996ad (patch) | |
tree | 99e869ec2e3bcd5df434f0f3499773e3f66e2625 /inc/common.php | |
parent | 883bc121fd88d965cac7d206572f272b3e15ff51 (diff) | |
download | rpg-b7d5a5f06d3e336fcc46ccebff28de2b214996ad.tar.gz rpg-b7d5a5f06d3e336fcc46ccebff28de2b214996ad.tar.bz2 |
fix for previous pagetemplate event patch
Sorry, did mess up in testing the last patch.
darcs-hash:20060916000515-7ad00-3874991f9121ac80b2b3b66d4f5ac166702df1d1.gz
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'); |