diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py index a85bac84f5c..1a10d80df94 100644 --- a/bin/report/report_sxw.py +++ b/bin/report/report_sxw.py @@ -441,8 +441,7 @@ class report_sxw(report_rml, preprocess.report): rml_parser.set_context(objs, data, ids, report_xml.report_type) processed_rml = etree.XML(rml) if report_xml.header: - rml_parser._add_header(processed_rml) - processed_rml = self.preprocess_rml(processed_rml,report_xml.report_type) + rml_parser._add_header(processed_rml,self.header) if rml_parser.logo: logo = base64.decodestring(rml_parser.logo) create_doc = self.generators[report_xml.report_type]