From b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Wed, 3 Feb 2010 13:08:25 +0100 Subject: USERINFO instead of INFO['userinfo'] in tpl parsing --- inc/common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/common.php') 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 */ 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); -- cgit v1.2.3