1
0
This commit is contained in:
2022-08-02 23:25:59 +02:00
parent d13529251b
commit d0489c7353
3 changed files with 4 additions and 8 deletions

View File

@ -230,7 +230,7 @@ function removeEvent(device $deviceObject, string $property , $value, int $metho
}
}
function searchEvent(device $deviceObject, string $property, $function, $value)
function searchEvent(device $deviceObject, string $property, $value, $function=null)
{
global $events;
logger(DEBUG, sprintf(_("searching event for device %s, property %s and value %s"), $deviceObject->friendlyName, $property, bool2string($value)), __FILE__ . ":" . __LINE__);