Skip to content

Commit

Permalink
Update tuya.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fandaymon committed Aug 1, 2023
1 parent 219c5e9 commit f0f2911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tuya/tuya.class.php
Expand Up @@ -1933,7 +1933,7 @@ function propertySetHandle($object, $property, $value) {
}
}

$rec = SQLSelectOne("SELECT * FROM tuvalues WHERE ID=".$rec['ID'].';');
$rec = SQLSelectOne("SELECT * FROM tuvalues WHERE ID=".$properties[0]['ID'].';');
$rec['value']=$value;
SQLUpdate('tuvalues',$rec);

Expand Down

0 comments on commit f0f2911

Please sign in to comment.