From 413cdda34f070349461c163e9550197091394573 Mon Sep 17 00:00:00 2001 From: Bui Sy Nguyen Date: Fri, 2 Oct 2015 23:19:51 +0700 Subject: [PATCH] Fix #1 --- fproject/amqp/ActivityNoticeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();