Commit d59f0eda by Tuomas Riihimäki

Printtaus toimii \o/

1 parent b2593292
......@@ -66,7 +66,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
private EventUserFacade eventUserFacade;
@EJB
private UserBeanLocal userbean;
private UserBean userbean;
@EJB
private LanEventPropertyFacade eventPropertyFacade;
......@@ -186,7 +186,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
@RolesAllowed(UserPermission.S_VIEW_ALL)
public CardTemplate getUsersCardtype(EventUser user) {
List<Role> roles = userbean.findUsersRoles(user);
List<Role> roles = userbean.localFindUsersRoles(user);
CardTemplate greatestTemplate = null;
for (Role listrole : roles) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!