diff --git a/htdocs/web_portal/views/user/view_user.php b/htdocs/web_portal/views/user/view_user.php index c56583884..7ddca532f 100644 --- a/htdocs/web_portal/views/user/view_user.php +++ b/htdocs/web_portal/views/user/view_user.php @@ -118,15 +118,20 @@ --> - getHomeSite()) != 0) { ?> + getHomeSite(); + if (sizeof($homeSite) != 0) { + ?> Home Site getHomeSite()->getId(); - $homeShortName = $params['user']->getHomeSite()->getShortName(); - echo ""; - // Use xecho as the Site's ShortName is user submitted input. + $homeId = $homeSite->getId(); + $homeShortName = $homeSite->getShortName(); + echo ""; + // Use xecho as the Site's ShortName is user + // submitted input. xecho($homeShortName); echo ""; ?>