diff --git a/lynis-report-converter.pl b/lynis-report-converter.pl
index d31c8e1..75e03f8 100755
--- a/lynis-report-converter.pl
+++ b/lynis-report-converter.pl
@@ -1241,7 +1241,12 @@ END
END
- print OUT "\t\t\t
suggestions (".scalar(@{$lynis_report_data{'suggestion[]'}})."):
\n";
+ if ((ref($lynis_report_data{'suggestion[]'}) eq 'ARRAY') and
+ (${$lynis_report_data{'suggestion[]'}}[0] =~ /\|/)) {
+ print OUT "\t\t\tsuggestions (".scalar(@{$lynis_report_data{'suggestion[]'}})."):
\n";
+ } else {
+ print OUT "\t\t\tsuggestions (0):
\n";
+ }
print OUT <