diff --git a/org.adempiere.base/src/org/compiere/model/MUser.java b/org.adempiere.base/src/org/compiere/model/MUser.java index 237b924dfa..99e5541b32 100644 --- a/org.adempiere.base/src/org/compiere/model/MUser.java +++ b/org.adempiere.base/src/org/compiere/model/MUser.java @@ -988,7 +988,7 @@ public class MUser extends X_AD_User rs = pstmt.executeQuery (); if (rs.next()) { - retValue = new MUser (ctx, rs.getInt(1), null); + retValue = MUser.get(ctx, rs.getInt(1)); if (rs.next()) s_log.warning ("More then one user with Name/Password = " + name); }