Skip to content

Commit

Permalink
Use xecho again to display Short Name
Browse files Browse the repository at this point in the history
- Short Name is user submitted data, so we need to use
  xecho, which escaped various characters in the string.
  • Loading branch information
gregcorbett committed Nov 29, 2023
1 parent afc6eb6 commit e074ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/web_portal/views/user/view_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<?php
$homeId = $params['user']->getHomeSite()->getId();
echo "<a href=\"index.php?Page_Type=Site&amp;id=$homeId\">";
echo $params['user']->getHomeSite()->getShortName();
xecho $params['user']->getHomeSite()->getShortName();
echo "</a>";
?>
</td>
Expand Down

0 comments on commit e074ed6

Please sign in to comment.