From e074ed612e089867a38ad22cc0923d17e8740864 Mon Sep 17 00:00:00 2001 From: gregcorbett Date: Wed, 29 Nov 2023 13:21:25 +0000 Subject: [PATCH] Use xecho again to display Short Name - Short Name is user submitted data, so we need to use xecho, which escaped various characters in the string. --- htdocs/web_portal/views/user/view_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/web_portal/views/user/view_user.php b/htdocs/web_portal/views/user/view_user.php index f99b80a41..149a20383 100644 --- a/htdocs/web_portal/views/user/view_user.php +++ b/htdocs/web_portal/views/user/view_user.php @@ -125,7 +125,7 @@ getHomeSite()->getId(); echo ""; - echo $params['user']->getHomeSite()->getShortName(); + xecho $params['user']->getHomeSite()->getShortName(); echo ""; ?>