Skip to content

Commit

Permalink
fix PHP 8.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
paresy committed Sep 22, 2023
1 parent 7305726 commit 5599478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnwesenheitsSimulation/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function UpdateTargets()
//Only update if target differs
if ($targetValue != $v['VariableValue']) {
$o = IPS_GetObject($targetID);
if ($v['VariableCustomAction'] != '') {
if ($v['VariableCustomAction'] !== 0) {
$actionID = $v['VariableCustomAction'];
} else {
$actionID = $v['VariableAction'];
Expand Down

0 comments on commit 5599478

Please sign in to comment.