98_DOIFtools.pm: fixed bug from last change

git-svn-id: https://svn.fhem.de/fhem/trunk@13251 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Ellert
2017-01-27 17:15:57 +00:00
parent 14f9fd4bbb
commit 4fe0c4fed4
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 98_DOIFtools.pm: fixed bug from last change
- update: 98_DOIFtools.pm: some code rework
- update: 98_DOIFtools.pm: dynamic column width in report
- update: 98_DOIFtools.pm: add delete readings in other devices than DOIF

View File

@@ -586,7 +586,7 @@ sub DOIFtoolsCheckDOIF {
($sub0[$i],@tmp) = SplitDoIf(",",$wait[$i]);
$sub0[$i] =~ s/\s// if($sub0[$i]);
}
if (defined $defs{$tn}{timeCond}}) {
if (defined $defs{$tn}{timeCond}) {
foreach my $key (sort keys %{$defs{$tn}{timeCond}}) {
if (defined($defs{$tn}{timeCond}{$key}) and $defs{$tn}{timeCond}{$key} and $sub0[$defs{$tn}{timeCond}{$key}]) {
$ret .= "<li><b>Timer</b> in <b>condition</b> and <b>wait timer</b> for <b>commands</b> in the same <b>DOIF branch</b>.<br>If you observe unexpected behaviour, try attribute <b>timerWithWait</b> (<a target=\"_blank\" href=\"https://fhem.de/commandref_DE.html#DOIF_timerWithWait\">delay of Timer</a>)</li>\n";