X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fissues_avg_stats.pl;h=372f3c00733f4f6df036a612f427ed791ddbf130;hb=a598b100613a37dc2710090cb381dce56eae2f26;hp=c6a38591004764f0f5c5669ddaa0809a5e13eab5;hpb=d8a36ca1f80460029ec5442fb1bf5de8b00a2138;p=koha_fer diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index c6a3859100..372f3c0073 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -77,7 +77,7 @@ if ($do_it) { # Printing results to screen $template->param(mainloop => $results); output_html_with_http_headers $input, $cookie, $template->output; - exit(1); + exit; } else { # Printing to a csv file print $input->header(-type => 'application/vnd.sun.xml.calc', @@ -110,7 +110,7 @@ if ($do_it) { print $sep.$col->{totalcol}; } print $sep.@$results[0]->{total}; - exit(1); + exit; } # Displaying choices } else {