From 4c792a23184ed512a30bdfdfe0e8198ea5e47482 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Fri, 18 Jun 2021 14:41:03 +0800 Subject: [PATCH] * Fix bug. --- module/webhook/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/webhook/model.php b/module/webhook/model.php index b5f8849284..3ec491cb46 100644 --- a/module/webhook/model.php +++ b/module/webhook/model.php @@ -380,7 +380,7 @@ class webhookModel extends model $intersect = array_intersect($webhookProducts, $actionProduct); if(!$intersect) return false; } - if($webhook->executions) + if(isset($webhook->executions)) { if(strpos(",$webhook->executions,", ",$action->execution,") === false) return false; }