X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fcat_issues_top.pl;h=2a6409d2c95ac91349faa15652dd657fade73bbd;hb=9e5fe6df1e3e8ca20bf5473a650a5f5f4038ba69;hp=606106d2a45c226c0a66e4a7dcd704bd0a04a1ef;hpb=b49a0a30a15ea416bbf4e01d23d3db1e4e21ea0f;p=koha_fer diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 606106d2a4..2a6409d2c9 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -75,7 +75,7 @@ if ($do_it) { $template->param(mainloop => $results, limit => $limit); 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', @@ -108,7 +108,7 @@ if ($do_it) { print $sep.$col->{totalcol}; } print $sep.@$results[0]->{total}; - exit(1); + exit; } # Displaying choices } else {