git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@893 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-04-23 07:06:19 +00:00
parent 07e5e09944
commit c4fdc55862

View File

@ -564,7 +564,7 @@ CUL_HM_Set($@)
my @h;
@h = split(" ", $h) if($h);
if(!defined($h) && $culHmSubTypeSets{$st}{pct} && $cmd =~ m/^\d+/) {
if(!defined($h) && defined($culHmSubTypeSets{$st}{pct}) && $cmd =~ m/^\d+/) {
$cmd = "pct";
} elsif(!defined($h)) {