IDEMPIERE-3316 PSQL Exception In windows that are not overwritten by info window / integrate patch suggested by Vinicius Henrique Moraes (ViniMoraes)

This commit is contained in:
Carlos Ruiz 2017-03-26 12:10:57 +02:00
parent c0d3d9dfe1
commit b8b7da7193
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener<Event>
private void addSQLWhere(StringBuffer sql, int index, String value)
{
if (!(value.equals("") || value.equals("%")) && index < m_queryColumns.size())
if (!(value.equals("")) && index < m_queryColumns.size())
{
// Angelo Dabala' (genied) nectosoft: [2893220] avoid to append string parameters directly because of special chars like quote(s)
sql.append(" AND UPPER(").append(m_queryColumnsSql.get(index).toString()).append(") LIKE ?");