Skip to content
Snippets Groups Projects

Resolve ""error" template"

Merged Piotr Gawron requested to merge 2015-error-template into master
2 files
+ 12
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -121,7 +121,7 @@ public class UserService implements IUserService {
@Override
public User getUserByLogin(final String login, final boolean loadLazy) {
User user = getUserByLogin(login);
if (loadLazy) {
if (loadLazy && user != null) {
Hibernate.initialize(user.getPrivileges());
if (user.getAnnotationSchema() != null) {
for (final UserClassAnnotators annotator : user.getAnnotationSchema().getClassAnnotators()) {
Loading