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:
rudolfkoenig
2014-12-21 16:14:16 +00:00
parent 36c4a223c1
commit 7ca4f6cf6b

View File

@@ -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});