diff --git a/htdocs/web_portal/views/user/view_user.php b/htdocs/web_portal/views/user/view_user.php index 0ce7b0a76..dda2df769 100644 --- a/htdocs/web_portal/views/user/view_user.php +++ b/htdocs/web_portal/views/user/view_user.php @@ -124,9 +124,10 @@ getHomeSite()->getId(); + $homeShortName = $params['user']->getHomeSite()->getShortName(); echo ""; // Use xecho as the Site's ShortName is user submitted input. - xecho $params['user']->getHomeSite()->getShortName(); + xecho $homeShortName; echo ""; ?>