summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/common.php6
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);