From 87d363ab66cdc8fe7c99ce6f02e6046331655e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rei=C3=9Fig?= Date: Thu, 7 Oct 2021 23:06:05 +0200 Subject: [PATCH] [FIX] Check if the passed value is null --- Classes/FusionObjects/Ray.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/FusionObjects/Ray.php b/Classes/FusionObjects/Ray.php index a3eb008..d2fd401 100644 --- a/Classes/FusionObjects/Ray.php +++ b/Classes/FusionObjects/Ray.php @@ -24,6 +24,8 @@ public function evaluate(): void $debugAction = strtolower($this->fusionValue('debugAction')); $debugValue = $this->fusionValue('value'); + $debugValue = ($debugValue === null) ? 'ignore' : $debugValue; + if (!empty($this->fusionValue('once'))) { $this->debug(null, $debugAction); } else {