correct register display

git-svn-id: https://svn.fhem.de/fhem/trunk@3207 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2013-05-22 17:19:42 +00:00
parent bd103c489b
commit ff1ca0cbe7

View File

@@ -3287,7 +3287,7 @@ sub CUL_HM_updtRegDisp($$$) {
push @regArr, keys %{$culHmRegModel{$md}} if($culHmRegModel{$md});
push @regArr, keys %{$culHmRegChan{$md.$chn}} if($culHmRegChan{$md.$chn});
my @changedRead;
my $expLvl = (CUL_HM_getAttrInt($name,"expert") == 0)?1:0;
my $expLvl = (CUL_HM_getAttrInt($name,"expert") != 0)?1:0;
foreach my $regName (@regArr){
next if ($culHmRegDefine{$regName}->{l} ne $listNo);
my $rgVal = CUL_HM_getRegFromStore($name,$regName,$list,$peerId);