mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Bugfixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@40 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3561539c09
commit
f2a4cc4bf3
5
fhem.pl
5
fhem.pl
@ -788,7 +788,10 @@ CommandSet($$)
|
||||
} elsif($dev =~ m/,/) { # Enumeration (separated by ,)
|
||||
|
||||
foreach my $sdev (split(",", $dev)) {
|
||||
push @rets, "Please define $sdev first" if(!defined($defs{$sdev}));
|
||||
if(!defined($defs{$sdev})) {
|
||||
push @rets, "Please define $sdev first";
|
||||
next;
|
||||
}
|
||||
$a[0] = $sdev;
|
||||
my $ret = DoSet(@a);
|
||||
push @rets, $ret if($ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user