X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=reports%2Fborrowers_out.pl;h=55243b355a144fd75f3940ed7cf3850234d686a5;hb=9706908b269ebc068b19a0989ca8af6804b1a540;hp=278e412b483274ccd6fe448f21f736a64a76c5a4;hpb=a7a4d39697bf52ad805fadd53d388b4530568774;p=koha.git diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl index 278e412b48..55243b355a 100755 --- a/reports/borrowers_out.pl +++ b/reports/borrowers_out.pl @@ -60,7 +60,6 @@ my ($template, $borrowernumber, $cookie) debug => 1, }); $template->param(do_it => $do_it, - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), ); if ($do_it) { # Displaying results @@ -69,7 +68,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', @@ -103,7 +102,7 @@ if ($do_it) { print $sep.$col->{totalcol}; } print $sep.@$results[0]->{total}; - exit(1); + exit; } # Displaying choices } else {