Skip to content

Commit

Permalink
v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
demel42 committed Feb 7, 2024
1 parent d3debd7 commit e96d1b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MielelAtHomeConfig/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ private function getConfiguratorValues()

$instanceID = 0;
foreach ($instIDs as $instID) {
@$_fabNumber = IPS_GetProperty($instID, 'fabNumber');
if ($fabNumber == $_fabNumber) {
if (@IPS_GetProperty($instID, 'fabNumber') == $fabNumber) {
$this->SendDebug(__FUNCTION__, 'instance found: ' . IPS_GetName($instID) . ' (' . $instID . ')', 0);
$instanceID = $instID;
break;
Expand Down

0 comments on commit e96d1b6

Please sign in to comment.