diff --git a/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java b/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java index 5af71effae..54fa7b6b7e 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java +++ b/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java @@ -839,10 +839,16 @@ class ReportHTML implements TableReportModule { indexOut = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(indexFilePath), "UTF-8")); //NON-NLS StringBuilder index = new StringBuilder(); final String reportTitle = reportBranding.getReportTitle(); + String iconPath = reportBranding.getAgencyLogoPath(); + if (iconPath == null){ + // use default Autopsy icon if custom icon is not set + iconPath = "favicon.ico"; + } index.append("
\n