mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
Bugfixes
git-svn-id: https://svn.fhem.de/fhem/trunk@40 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a2967e04ba
commit
f10543fa51
@ -788,7 +788,10 @@ CommandSet($$)
|
|||||||
} elsif($dev =~ m/,/) { # Enumeration (separated by ,)
|
} elsif($dev =~ m/,/) { # Enumeration (separated by ,)
|
||||||
|
|
||||||
foreach my $sdev (split(",", $dev)) {
|
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;
|
$a[0] = $sdev;
|
||||||
my $ret = DoSet(@a);
|
my $ret = DoSet(@a);
|
||||||
push @rets, $ret if($ret);
|
push @rets, $ret if($ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user