IDEMPIERE-865 log.saveError: problem with translation / improvement

This commit is contained in:
Carlos Ruiz 2013-05-01 09:51:19 -05:00
parent b7e29b1675
commit ae957d0cb1
1 changed files with 1 additions and 1 deletions

View File

@ -1322,12 +1322,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
}
adMessage.append(tail);
}
String adMessageQuot = Util.replace(adMessage.toString(), "'", "''");
if ( arguments.length == 1
&& origmsg != null
&& origmsg.equals(arguments[0])) { // check dup message
sb.append(origmsg);
} else {
String adMessageQuot = Util.replace(adMessage.toString(), "'", "''");
sb.append(MessageFormat.format(adMessageQuot, arguments));
}
}