correct register display

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3207 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2013-05-22 17:19:42 +00:00
parent 7e36029f98
commit e935584315

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);