- should call Env.getLanaguage(ctx) instead of Env.getLoginLanguage(ctx), Env.getLoginLanguage(ctx) call Language.getLoginLanguage() which will return the default login language instead of the current login language ( see Language.getLoginLanguage() javadoc )
This commit is contained in:
Heng Sin Low 2009-05-24 07:52:37 +00:00
parent 9a9b9472f9
commit b992310464
1 changed files with 50 additions and 50 deletions

View File

@ -199,7 +199,7 @@ public class AmtInWords_ES implements AmtInWords
if (amount == null) if (amount == null)
return amount; return amount;
Language lang = Env.getLoginLanguage(Env.getCtx()); Language lang = Env.getLanguage(Env.getCtx());
// //
StringBuffer sb = new StringBuffer (); StringBuffer sb = new StringBuffer ();
int pos = 0; int pos = 0;