2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +00:00

notify: fixing last change (was always executed)

git-svn-id: https://svn.fhem.de/fhem/trunk@5419 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-04-03 07:37:46 +00:00
parent e8f5dabdbd
commit 120f54c4ce

View File

@ -84,10 +84,10 @@ notify_Exec($$)
my $r = AnalyzeCommandChain(undef, $exec);
Log3 $ln, 3, "$ln return value: $r" if($r);
$ret .= " $r" if($r);
$ntfy->{STATE} =
AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active';
}
}
$ntfy->{STATE} =
AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active';
return $ret if(AttrVal($ln, "forwardReturnValue", 0));
return undef;