X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fcat_issues_top.pl;h=22b88ae017b368efaf243b54657663c2515994d8;hb=537c66403855437d2ce52eeb758fc009c7105633;hp=606106d2a45c226c0a66e4a7dcd704bd0a04a1ef;hpb=e979344ea9db2ea91e9aa905bdcea527ac9fe2f2;p=koha_fer diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 606106d2a4..22b88ae017 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -65,7 +65,6 @@ my ($template, $borrowernumber, $cookie) our $sep = $input->param("sep"); $sep = "\t" if ($sep eq 'tabulation'); $template->param(do_it => $do_it, - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), ); if ($do_it) { # Displaying results @@ -75,7 +74,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 +107,7 @@ if ($do_it) { print $sep.$col->{totalcol}; } print $sep.@$results[0]->{total}; - exit(1); + exit; } # Displaying choices } else {