mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
98_fheminfo.pm: fix perl warnings
git-svn-id: https://svn.fhem.de/fhem/trunk@14582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d4ce3e5f33
commit
3ada87154f
@ -155,7 +155,8 @@ sub _fi2_HtmlTable($) {
|
||||
$result .= "<tr><td>System Info</td></tr>";
|
||||
$result .= "<tr><td> </td><td>Release:</td><td>$fhemInfo{'system'}{'release'}</td></tr>";
|
||||
$result .= "<tr><td> </td><td>FeatureLevel:</td><td>$fhemInfo{'system'}{'feature'}</td></tr>";
|
||||
$result .= "<tr><td> </td><td>SVN rev:</td><td>$fhemInfo{'system'}{'revision'}</td></tr>";
|
||||
$result .= "<tr><td> </td><td>SVN rev:</td><td>$fhemInfo{'system'}{'revision'}</td></tr>"
|
||||
if (defined($fhemInfo{'system'}{'revision'}));
|
||||
$result .= "<tr><td> </td><td>OS:</td><td>$fhemInfo{'system'}{'os'}</td></tr>";
|
||||
$result .= "<tr><td> </td><td>Arch:</td><td>$fhemInfo{'system'}{'arch'}</td></tr>";
|
||||
$result .= "<tr><td> </td><td>Perl:</td><td>$fhemInfo{'system'}{'perl'}</td></tr>";
|
||||
@ -167,7 +168,7 @@ sub _fi2_HtmlTable($) {
|
||||
foreach my $type (sort @keys)
|
||||
{
|
||||
next if ($type eq 'system');
|
||||
next unless $type;
|
||||
next unless (defined($type) && $type);
|
||||
$result .= "<tr><td>$type</td><td> </td><td>$fhemInfo{$type}{'noModel'}</td></tr>";
|
||||
while ( my ($model, $count) = each(%{$fhemInfo{$type}}) )
|
||||
{ $result .= "<tr><td> </td><td>$model</td><td>$fhemInfo{$type}{$model}</td></tr>" unless $model eq 'noModel'; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user