Skip to content

Commit

Permalink
Add a comment explaining why xecho is used here
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcorbett committed Nov 29, 2023
1 parent e074ed6 commit 69d7a1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/web_portal/views/user/view_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<?php
$homeId = $params['user']->getHomeSite()->getId();
echo "<a href=\"index.php?Page_Type=Site&amp;id=$homeId\">";
// Use xecho as the Site's ShortName is user submitted input.
xecho $params['user']->getHomeSite()->getShortName();
echo "</a>";
?>
Expand Down

0 comments on commit 69d7a1c

Please sign in to comment.