From 0b96c2795749191ab9535f5a465f9b5e20541e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Pie=C5=82a?= Date: Tue, 27 Apr 2021 09:17:12 +0200 Subject: [PATCH] Fix filter --- classes/webhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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