Commit d59f0eda by Tuomas Riihimäki

Printtaus toimii \o/

1 parent b2593292
...@@ -66,7 +66,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal { ...@@ -66,7 +66,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
private EventUserFacade eventUserFacade; private EventUserFacade eventUserFacade;
@EJB @EJB
private UserBeanLocal userbean; private UserBean userbean;
@EJB @EJB
private LanEventPropertyFacade eventPropertyFacade; private LanEventPropertyFacade eventPropertyFacade;
...@@ -186,7 +186,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal { ...@@ -186,7 +186,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
@RolesAllowed(UserPermission.S_VIEW_ALL) @RolesAllowed(UserPermission.S_VIEW_ALL)
public CardTemplate getUsersCardtype(EventUser user) { public CardTemplate getUsersCardtype(EventUser user) {
List<Role> roles = userbean.findUsersRoles(user); List<Role> roles = userbean.localFindUsersRoles(user);
CardTemplate greatestTemplate = null; CardTemplate greatestTemplate = null;
for (Role listrole : roles) { 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!