Fixed bug

This commit is contained in:
Luca Frosini 2021-11-25 18:01:18 +01:00
parent a6237c2456
commit e56123636f
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(clz);
}
if(limit<1) {
if(limit!= null && limit<1) {
limit = DEFAULT_TOP_LIMIT;
}