summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-11-07 17:38:39 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-11-07 17:38:39 +0100
commit7a94cade57d6c4514101c374d895ed278c05bbb1 (patch)
tree774de9d9c7c47a9e43c5ad6560bdea1a6bb94a7f /inc/template.php
parent0ae96b5697f1f1fe192e5eade99490c475467b84 (diff)
parenteb97dcb864e05302756dcec4320c3c41866e4217 (diff)
downloadrpg-7a94cade57d6c4514101c374d895ed278c05bbb1.tar.gz
rpg-7a94cade57d6c4514101c374d895ed278c05bbb1.tar.bz2
Merge branch 'master' into stable
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index c2ce130ff..cb98c83d7 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -796,7 +796,7 @@ function tpl_userinfo(){
global $lang;
global $INFO;
if(isset($_SERVER['REMOTE_USER'])){
- print $lang['loggedinas'].': '.$INFO['userinfo']['name'].' ('.$_SERVER['REMOTE_USER'].')';
+ print $lang['loggedinas'].': '.hsc($INFO['userinfo']['name']).' ('.hsc($_SERVER['REMOTE_USER']).')';
return true;
}
return false;