From 08c91c0007b0299bcfcd1cd31b7b720ded26b5a8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Wed, 30 May 2018 19:36:37 +0300 Subject: [PATCH] Oops --- report.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report.cgi b/report.cgi index 6e59dbce8..6f5fafe14 100755 --- a/report.cgi +++ b/report.cgi @@ -110,7 +110,7 @@ $vars->{saved_report_id} = $ARGS->{saved_report_id}; $vars->{debug} = $ARGS->{debug}; $vars->{report_columns} = Bugzilla::Search->REPORT_COLUMNS(); -$ARGS->{ctype} = $ARGS->{format} eq 'csv' ? 'csv' : 'html'; +$ARGS->{ctype} = $ARGS->{action} eq 'plot' ? 'png' : ($ARGS->{format} eq 'csv' ? 'csv' : 'html'); $ARGS->{format} = $ARGS->{format} eq 'csv' ? 'table' : $ARGS->{format}; my $formatparam = $ARGS->{format};