mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
55_InfoPanel.pm: fix 5.24.1 compatibility
git-svn-id: https://svn.fhem.de/fhem/trunk@12511 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0c6e554d4f
commit
4aa67cad94
@ -223,12 +223,12 @@ sub btIP_Get {
|
||||
when ("layout") {
|
||||
$ret = $defs{$name}{fhem}{layout};
|
||||
}
|
||||
# when ("overrides") {
|
||||
# last if(!defined($defs{$name}{fhem}{override}));
|
||||
# foreach my $key ( keys $defs{$name}{fhem}{override} ) {
|
||||
# $ret .= "$key => $defs{$name}{fhem}{override}{$key} \n";
|
||||
# }
|
||||
# }
|
||||
when ("overrides") {
|
||||
last if(!defined($defs{$name}{fhem}{override}));
|
||||
foreach my $key ( keys %{$defs{$name}{fhem}{override}} ) {
|
||||
$ret .= "$key => $defs{$name}{fhem}{override}{$key} \n";
|
||||
}
|
||||
}
|
||||
default {
|
||||
$ret = $usage;
|
||||
}
|
||||
@ -1160,7 +1160,7 @@ sub btIP_evalLayout {
|
||||
|
||||
when("pop") {
|
||||
return unless $pstackcount;
|
||||
foreach my $key ( keys $pstack{$pstackcount} ) {
|
||||
foreach my $key ( keys %{$pstack{$pstackcount}} ) {
|
||||
# Debug "pop key: $key, value: $pstack{$pstackcount}{$key}";
|
||||
$params{$key} = $pstack{$pstackcount}{$key};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user