Skip to content

Commit

Permalink
SAK-32634 - Autojoin doesn't work in sites with alias in their URL (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmerino authored and jonespm committed Jun 29, 2017
1 parent 46bb048 commit 4ee022a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected void showJoin(String[] parts, HttpServletRequest req,
context.put("currentSite", portal.getSiteHelper().convertSiteToMap(req, site, null, site.getId(), null, false, false, false, false, null, true, siteProviders));
context.put("uiService", serviceName);

boolean restrictedByAccountType = !SiteService.getInstance().isAllowedToJoin(siteId);
boolean restrictedByAccountType = !SiteService.getInstance().isAllowedToJoin(site.getId());
context.put("restrictedByAccountType", restrictedByAccountType);

portal.sendResponse(context, res, "join", "text/html");
Expand Down

0 comments on commit 4ee022a

Please sign in to comment.