Skip to content

Commit

Permalink
Merge pull request sakaiproject#1159 from juanarcadio/SAK-29950
Browse files Browse the repository at this point in the history
SAK-29950 Internal Server Error when click over All site files
  • Loading branch information
ottenhoff committed Oct 9, 2015
2 parents eca26db + 0db5c51 commit db6b46e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@ protected static Collection<ContentPermissions> getPermissions(String id, Collec
}

// id may be in format of /group/<site_id>, which leads to null value for the reference context field
if (siteId == null)
if (siteId == null && ToolManager.getCurrentPlacement() != null)
{
siteId = ToolManager.getCurrentPlacement().getContext();
}
Expand Down

0 comments on commit db6b46e

Please sign in to comment.