Skip to content

Commit

Permalink
SAK-28007 added check for null context
Browse files Browse the repository at this point in the history
git-svn-id: https://source.sakaiproject.org/svn/content/trunk@314873 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
bethkirschner committed Oct 24, 2014
1 parent 43ae87a commit 0f328a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@ else if(this.iconLocation == null)
ArrayList<Group> site_groups = new ArrayList<Group>();

String context = getSiteContext(refstr);
site = getSiteObject(context);
if(context != null) {
site = getSiteObject(context);
}
if(site != null)
{
for(Group gr : (Collection<Group>) site.getGroups())
Expand Down

0 comments on commit 0f328a9

Please sign in to comment.