IDEMPIERE-2325 Env.parseVariable(String, PO, String, boolean) displays 'null' instead of ''
This commit is contained in:
parent
7d8537cc07
commit
3ef895aa91
|
@ -1509,8 +1509,9 @@ public final class Env
|
|||
if (column.isSecure()) {
|
||||
outStr.append("********");
|
||||
} else {
|
||||
outStr.append(DB.getSQLValueString(trxName,
|
||||
"SELECT " + columnName + " FROM " + tableName + " WHERE " + tableName + "_ID = ?", (Integer)v));
|
||||
String value = DB.getSQLValueString(trxName,"SELECT " + columnName + " FROM " + tableName + " WHERE " + tableName + "_ID = ?", (Integer)v);
|
||||
if (value != null)
|
||||
outStr.append(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue