some debbuging :-(
This commit is contained in:
@ -282,7 +282,7 @@ function changeValue(&$property, $value, &$parentDevice, $propertyTree, $key)
|
||||
if (array_key_exists($key, $properties2log))
|
||||
{
|
||||
logger(INFO, sprintf(_("Logging Device property %s, %s"), $propertyTree . $key, bool2string($value)), __FILE__ . ":" . __LINE__);
|
||||
$mohaDB->logProperty($parentDevice, $key, $value, $property["value"]);
|
||||
$mohaDB->logProperty($parentDevice, $key, $value);
|
||||
logger(DEBUG, sprintf(_("old value was %s, new is %s" ), bool2string($property["value"]), bool2string($value)), __FILE__ . ":" . __LINE__);
|
||||
}
|
||||
$property["value"] = $value;
|
||||
|
Reference in New Issue
Block a user