RM-5987 changes from review

This commit is contained in:
Sara Aspery
2018-01-26 07:11:20 +00:00
parent d466e29dbc
commit 69439bb3d8

View File

@@ -121,7 +121,7 @@ public class AuditLogGet extends BaseAuditRetrievalWebScript
} }
// limit the number of audit log entries to be returned // limit the number of audit log entries to be returned
if (queryParams.getMaxEntries() == 0 || queryParams.getMaxEntries() > viewLogMaxSize) if (queryParams.getMaxEntries() <= 0 || queryParams.getMaxEntries() > viewLogMaxSize)
{ {
queryParams.setMaxEntries(viewLogMaxSize); queryParams.setMaxEntries(viewLogMaxSize);
} }