mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
98_DOIF.pm: fixed cmdList="";
git-svn-id: https://svn.fhem.de/fhem/trunk@13404 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d40ce8a517
commit
d6167c0fac
@ -2021,7 +2021,7 @@ DOIF_Set($@)
|
||||
} else {
|
||||
my $setList = AttrVal($pn, "setList", " ");
|
||||
$setList =~ s/\n/ /g;
|
||||
my $cmdList;
|
||||
my $cmdList="";
|
||||
my $max_cond=keys %{$hash->{condition}};
|
||||
$max_cond++ if (defined ($hash->{do}{$max_cond}{0}) or ($max_cond == 1 and !(AttrVal($pn,"do","") or AttrVal($pn,"repeatsame",""))));
|
||||
for (my $i=0; $i <$max_cond;$i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user