Skip to content

Commit

Permalink
fixed #155
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Jul 11, 2013
1 parent af7fb1c commit 24db3cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ public Action[] getActions(Object target, Object sender)
return new Action[0];
}

if (VaadinSession.getCurrent().getAttribute(AnnisCorpus.class) == null)
if (Helper.getUser() == null)
{
// we can't change anything if we are not logged in so don't even try
return new Action[0];
Expand Down

0 comments on commit 24db3cf

Please sign in to comment.