X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fcatalogue_stats.pl;h=c8e21940f494058fd4a7645e81c20f670876bee5;hb=4db3ffed91bb4647939e85da5a01b9293d86b257;hp=11dff4d3cbef4a613762f8298a9438834c5662d9;hpb=f0fc240e91634bc538a527b79d0fae4af96abaa0;p=koha_fer diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 11dff4d3cb..c8e21940f4 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -74,7 +74,7 @@ if ($do_it) { if ($output eq "screen"){ $template->param(mainloop => $results); output_html_with_http_headers $input, $cookie, $template->output; - exit(1); + exit; } else { print $input->header(-type => 'application/vnd.sun.xml.calc', -encoding => 'utf-8', @@ -102,7 +102,7 @@ if ($do_it) { print $sep.$col->{totalcol}; } print $sep.@$results[0]->{total}; - exit(1); + exit; } } else { my $dbh = C4::Context->dbh;