fix bug introduce with 11887 revision.

kind regards
Victor Perez
www.e-evolution.com
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2897194
This commit is contained in:
vpj-cd 2010-03-31 16:36:15 +00:00
parent 58379717c8
commit c0a2ff58ff
1 changed files with 3 additions and 0 deletions

View File

@ -205,7 +205,10 @@ public class MRelationType extends X_AD_RelationType implements IZoomProvider {
ResultSet rs = null;
try {
pstmt.setInt(1, windowId);
if(!baseLanguage)
{
pstmt.setString(2, Env.getAD_Language(Env.getCtx()));
}
rs = pstmt.executeQuery();
if (rs.next()) {
return rs.getString(1);