mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
98_HMtemplate:eliminate boot warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12834 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0208f7d328
commit
f612c0d335
@ -369,7 +369,7 @@ sub HMtemplate_SetFn($@) {#####################################################
|
||||
if ($culHmRegDefLS->{$rN}){# template for short/long
|
||||
next if($tType && $tType !~ m/peer-(Long|Short)/);
|
||||
$tType = "peer-Long";
|
||||
$lits = ":".join(",",(sort (keys %{$culHmRegDefLS->{$rN}{lit}}),$paramS)) if ($culHmRegDefLS->{$rN}{c} eq "lit");
|
||||
$lits = ":".join(",",(sort(keys %{$culHmRegDefLS->{$rN}{lit}}),$paramS)) if ($culHmRegDefLS->{$rN}{c} eq "lit");
|
||||
}
|
||||
elsif ($culHmRegDef->{$rN}){
|
||||
if($culHmRegDef->{$rN}{l} eq 3){
|
||||
@ -380,7 +380,7 @@ sub HMtemplate_SetFn($@) {#####################################################
|
||||
next if($tType && $tType ne "basic");
|
||||
$tType = "basic";
|
||||
}
|
||||
$lits = ":".join(",",(sort (keys %{$culHmRegDef->{$rN}{lit}}),$paramS)) if ($culHmRegDef->{$rN}{c} eq "lit");
|
||||
$lits = ":".join(",",(sort(keys %{$culHmRegDef->{$rN}{lit}}),$paramS)) if ($culHmRegDef->{$rN}{c} eq "lit");
|
||||
}
|
||||
else{
|
||||
next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user