permissionChecker, layout, ActionKeys.VIEW)) {
<BUG>String canonicalURL = PortalUtil.getCanonicalURL(
</BUG>
null, themeDisplay, layout, true);
<BUG>if (Validator.isNotNull(themeDisplay.getDoAsUserId())) {
canonicalURL = HttpUtil.setParameter(
canonicalURL, "doAsUserId",
themeDisplay.getDoAsUserId());
}
return canonicalURL;</BUG>
}

permissionChecker, layout, ActionKeys.VIEW)) {
return PortalUtil.getCanonicalURL(
null, themeDisplay, layout, true);
