minor fix.

This commit is contained in:
Heng Sin Low 2009-03-18 08:11:06 +00:00
parent 6ba368f7ef
commit b2e4a2bbd1
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ public class GridTable extends AbstractTableModel
else // replace variables
{
String context = Env.parseContext(m_ctx, m_WindowNo, m_whereClause, false);
if(context != null && context.length() > 0)
if(context != null && context.trim().length() > 0)
{
where.append(context);
}