diff --git a/fproject/amqp/ActivityNoticeManager.php b/fproject/amqp/ActivityNoticeManager.php index 821f8e7..aa7dbb8 100644 --- a/fproject/amqp/ActivityNoticeManager.php +++ b/fproject/amqp/ActivityNoticeManager.php @@ -93,7 +93,7 @@ public function noticeAfterModelAction($data, $configType, $action, $attributeNa else $classId = $configType; - $noticeAction = ($action === 'delete' && isset($modelList1)) ? 'batchDelete' : $action; + $noticeAction = ($action === 'delete' && is_array($modelList1)) ? 'batchDelete' : $action; $serializer = $this->getSerializer();