Skip to content

Commit

Permalink
[FIX] Check if the passed value is null
Browse files Browse the repository at this point in the history
  • Loading branch information
beromir committed Oct 7, 2021
1 parent 9d52257 commit 87d363a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/FusionObjects/Ray.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 87d363a

Please sign in to comment.