mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fhem.pl: check for undef entries in list (Forum #29963)
git-svn-id: https://svn.fhem.de/fhem/trunk@12719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
69dcc4d176
commit
ece20d4755
@ -2168,7 +2168,7 @@ PrintHash($$)
|
||||
} elsif(ref($h->{$c}) eq "ARRAY") {
|
||||
$sstr .= sprintf("%*s %s:\n", $lev, " ", $c);
|
||||
foreach my $v (@{$h->{$c}}) {
|
||||
$sstr .= sprintf("%*s %s\n", $lev+2, " ", $v);
|
||||
$sstr .= sprintf("%*s %s\n", $lev+2, " ", defined($v) ? $v:"undef");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user