diff --git a/fhem/FHEM/98_fheminfo.pm b/fhem/FHEM/98_fheminfo.pm
index ac7474fdb..12d36f568 100644
--- a/fhem/FHEM/98_fheminfo.pm
+++ b/fhem/FHEM/98_fheminfo.pm
@@ -155,7 +155,8 @@ sub _fi2_HtmlTable($) {
$result .= "
System Info |
";
$result .= " | Release: | $fhemInfo{'system'}{'release'} |
";
$result .= " | FeatureLevel: | $fhemInfo{'system'}{'feature'} |
";
- $result .= " | SVN rev: | $fhemInfo{'system'}{'revision'} |
";
+ $result .= " | SVN rev: | $fhemInfo{'system'}{'revision'} |
"
+ if (defined($fhemInfo{'system'}{'revision'}));
$result .= " | OS: | $fhemInfo{'system'}{'os'} |
";
$result .= " | Arch: | $fhemInfo{'system'}{'arch'} |
";
$result .= " | Perl: | $fhemInfo{'system'}{'perl'} |
";
@@ -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 .= "$type | | $fhemInfo{$type}{'noModel'} |
";
while ( my ($model, $count) = each(%{$fhemInfo{$type}}) )
{ $result .= " | $model | $fhemInfo{$type}{$model} |
" unless $model eq 'noModel'; }