X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Fserials_stats.pl;h=ff80b2f51beb095af407c88e7886a5a4a0e214fc;hb=37328c709ecb1e8868c4dd8ce344e844647d8715;hp=640ef603ad16cf46bdad8f9ba10156124a315a33;hpb=b49a0a30a15ea416bbf4e01d23d3db1e4e21ea0f;p=koha_fer diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl index 640ef603ad..ff80b2f51b 100755 --- a/reports/serials_stats.pl +++ b/reports/serials_stats.pl @@ -103,7 +103,7 @@ if($do_it){ $template->param(datas => \@datas, do_it => 1); }else{ - binmode STDOUT, ':utf8'; + binmode STDOUT, ':encoding(UTF-8)'; print $input->header(-type => 'application/vnd.sun.xml.calc', -encoding => 'utf-8', -name => "$basename.csv", @@ -125,7 +125,7 @@ if($do_it){ print $item->{startdate}.$sep; print $item->{enddate}."\n"; } - exit(1); + exit; } }else{ ## We generate booksellers list