diff --git a/classes/webhook.php b/classes/webhook.php index a22cb90..45862f9 100644 --- a/classes/webhook.php +++ b/classes/webhook.php @@ -13,7 +13,7 @@ class webhook extends core parent::__construct(); if($json) { - $this->filter = $filter ?? NULL; + $this->filter = $filter; $this->json = json_decode($json, false); } else