IDEMPIERE-496 Exception when changing Organization Info. Fixed wrong max row comparison in previous revision.

This commit is contained in:
Heng Sin Low 2012-12-03 15:26:13 +08:00
parent 8c30c3d051
commit 0b95ab7cd1
1 changed files with 1 additions and 1 deletions

View File

@ -3405,7 +3405,7 @@ public class GridTable extends AbstractTableModel
try
{
m_pstmt = DB.prepareStatement(m_SQL, trxName);
if (this.maxRows > 0 && rows > this.maxRows)
if (this.maxRows > 0 && rows == this.maxRows)
{
m_pstmt.setMaxRows(this.maxRows);
}