IDEMPIERE-1133 Customize grid not translated / fix problem found by Heng Sin

This commit is contained in:
Richard Morales 2013-07-05 16:44:58 -05:00
parent f4c2a30f44
commit 8461a5e006
1 changed files with 2 additions and 1 deletions

View File

@ -309,7 +309,8 @@ public class CustomizeGridViewPanel extends Panel
{ {
pstmt = DB.prepareStatement(sql, null); pstmt = DB.prepareStatement(sql, null);
pstmt.setInt(1, m_AD_Tab_ID); pstmt.setInt(1, m_AD_Tab_ID);
pstmt.setString(2, Env.getAD_Language(Env.getCtx())); if (!baseLanguage)
pstmt.setString(2, Env.getAD_Language(Env.getCtx()));
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
HashMap<Integer, ListElement> curTabSel = new HashMap<Integer, CustomizeGridViewPanel.ListElement>(); HashMap<Integer, ListElement> curTabSel = new HashMap<Integer, CustomizeGridViewPanel.ListElement>();