IDEMPIERE-496 Exception when changing Organization Info. Fixed wrong max row comparison in previous revision.
This commit is contained in:
parent
8c30c3d051
commit
0b95ab7cd1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue