diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/ResetPasswordPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/ResetPasswordPanel.java index af42ab737f..13a620b5c9 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/ResetPasswordPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/ResetPasswordPanel.java @@ -492,7 +492,7 @@ public class ResetPasswordPanel extends Window implements EventListener protected boolean sendEmail(MUser to, String newPassword) { - MClient client = MClient.get(m_ctx, to.getAD_Client_ID()); + MClient client = MClient.get(m_ctx, 0);//change by: IDEMPIERE-1267 Temp password from "Forgot My Password" does not work StringBuilder sql = new StringBuilder("SELECT R_MailText_ID "); sql.append("FROM R_MailText ");