Fix filter

This commit is contained in:
Mateusz Pieła 2021-04-27 09:17:12 +02:00
parent 0f5c0a3dc4
commit 0b96c27957

View file

@ -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