IDEMPIERE-4701 Env.parseVariable is parsing boolean values wrong (#582)
This commit is contained in:
parent
84eff33ebf
commit
51a081cbe7
|
@ -1743,7 +1743,10 @@ public final class Env
|
||||||
} else {
|
} else {
|
||||||
if (colToken != null && colToken.isSecure()) {
|
if (colToken != null && colToken.isSecure()) {
|
||||||
v = "********";
|
v = "********";
|
||||||
}
|
} else if (colToken != null && colToken.getAD_Reference_ID() == DisplayType.YesNo && v instanceof Boolean) {
|
||||||
|
v = ((Boolean)v).booleanValue() ? "Y" : "N";
|
||||||
|
}
|
||||||
|
|
||||||
outStr.append(v.toString());
|
outStr.append(v.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue