diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-02-03 13:08:25 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-02-03 13:09:51 +0100 |
commit | b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c (patch) | |
tree | bf53c3177db442642cb5ef7fb62f7bd6732dfeaf | |
parent | 2b1223ecf0894dc5856744e7aa266b2ab89fca20 (diff) | |
download | rpg-b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c.tar.gz rpg-b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c.tar.bz2 |
USERINFO instead of INFO['userinfo'] in tpl parsing
-rw-r--r-- | inc/common.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/common.php b/inc/common.php index a8ac6f7de..64c1b0a41 100644 --- a/inc/common.php +++ b/inc/common.php @@ -833,7 +833,7 @@ function pageTemplate($data){ * @author Andreas Gohr <andi@splitbrain.org> */ function parsePageTemplate($tpl, $id) { - global $INFO; + global $USERINFO; // replace placeholders $file = noNS($id); @@ -865,8 +865,8 @@ function parsePageTemplate($tpl, $id) { utf8_ucwords($page), utf8_strtoupper($page), $_SERVER['REMOTE_USER'], - $INFO['userinfo']['name'], - $INFO['userinfo']['mail'], + $USERINFO['name'], + $USERINFO['mail'], $conf['dformat'], ), $tpl); |