mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5987 changes from review
This commit is contained in:
@@ -121,7 +121,7 @@ public class AuditLogGet extends BaseAuditRetrievalWebScript
|
||||
}
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user