Skip to content

Commit

Permalink
Merge pull request #4 from SmoKE585/main
Browse files Browse the repository at this point in the history
Добавил название свойства в вызов метода
  • Loading branch information
sergejey committed Aug 24, 2022
2 parents 6e36fca + 4d550db commit 190236d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/zigbeedev/zigbeedev.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function processData(&$device, $prop, $value) {
$new_value = $value;
}
if ($property['LINKED_METHOD']) {
callMethod($property['LINKED_OBJECT'].'.'.$property['LINKED_METHOD'],array('VALUE'=>$new_value,'NEW_VALUE'=>$new_value));
callMethod($property['LINKED_OBJECT'].'.'.$property['LINKED_METHOD'],array('VALUE'=>$new_value, 'NEW_VALUE'=>$new_value, 'TITLE' => $prop));
}
if ($property['LINKED_PROPERTY']) {
$current_value=gg($property['LINKED_OBJECT'].'.'.$property['LINKED_PROPERTY']);
Expand Down

0 comments on commit 190236d

Please sign in to comment.