From f10543fa517334873420921954bb51404dea8448 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 30 Mar 2007 08:17:28 +0000 Subject: [PATCH] Bugfixes git-svn-id: https://svn.fhem.de/fhem/trunk@40 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 4a7d400ea..b6a29ed3d 100755 --- a/fhem/fhem.pl +++ b/fhem/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);