From 5d6ed4c944ff0bda6fa793a72ead919ba3253365 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 07 Jun 2012 11:04:30 -0400 Subject: [PATCH] Improved: FS#2256 - Show contact name instead of login name in dashboardm if user is a client --- interface/web/dashboard/dashboard.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/dashboard/dashboard.php b/interface/web/dashboard/dashboard.php index 2f4ba5d..7c0ea7b 100644 --- a/interface/web/dashboard/dashboard.php +++ b/interface/web/dashboard/dashboard.php @@ -55,7 +55,7 @@ $name = $tmp['contact_name']; } -$welcome = sprintf($wb['welcome_user_txt'], $name); +$welcome = sprintf($wb['welcome_user_txt'], htmlentities($name)); $app->tpl->setVar('welcome_user', $welcome); -- Gitblit v1.9.1