mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
avoid null pointer on empty record list
This commit is contained in:
@ -86,7 +86,7 @@ public class DMLAuditAction extends AbstractQActionFunction<DMLAuditInput, DMLAu
|
||||
try
|
||||
{
|
||||
AuditLevel auditLevel = getAuditLevel(tableActionInput);
|
||||
if(auditLevel == null || auditLevel.equals(AuditLevel.NONE))
|
||||
if(auditLevel == null || auditLevel.equals(AuditLevel.NONE) || CollectionUtils.nullSafeIsEmpty(recordList))
|
||||
{
|
||||
/////////////////////////////////////////////
|
||||
// return with noop for null or level NONE //
|
||||
|
Reference in New Issue
Block a user