Skip to content

Commit 8b8b5c9

Browse files
committed
Fix: Made Verinice reports include attached reports.
It was not possible to export a "Verinice ISM" or "Verinice ISM all results" report using a report config with attached report formats. That is working now.
1 parent a85a51b commit 8b8b5c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/manage_sql_report_formats.c

+7
Original file line numberDiff line numberDiff line change
@@ -4003,6 +4003,13 @@ apply_report_format (gchar *report_format_id,
40034003
report_format,
40044004
REPORT_FORMAT_PARAM_TYPE_REPORT_FORMAT_LIST);
40054005

4006+
if (!rf_dependencies_string || !strcmp (rf_dependencies_string, ""))
4007+
rf_dependencies_string
4008+
= sql_string ("SELECT value"
4009+
" FROM report_config_params"
4010+
" WHERE report_config = %llu AND name = 'Attached report formats'",
4011+
report_config);
4012+
40064013
if (rf_dependencies_string)
40074014
{
40084015
gchar **rf_dependencies, **current_rf_dependency;

0 commit comments

Comments
 (0)