fhem.pl: little more output if NotifyFn returns a message (Forum #30775)
git-svn-id: https://svn.fhem.de/fhem/trunk@7283 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2865,7 +2865,7 @@ DoTrigger($$@)
|
||||
foreach my $n (@{$ntfyLst}) {
|
||||
next if(!defined($defs{$n})); # Was deleted in a previous notify
|
||||
my $r = CallFn($n, "NotifyFn", $defs{$n}, $hash);
|
||||
$ret .= $r if($r);
|
||||
$ret .= " $n:$r" if($r);
|
||||
}
|
||||
delete($hash->{NTFY_TRIGGERTIME});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user