X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Filsdi.pl;h=419c0f2101b347c1051c6ad45273f90bf24567e2;hb=6f3123bbc65b1087e18bd8212d1ca01ed1087181;hp=c979e72b2646b961ca0acfe61fa7693255fd4800;hpb=d4260af339b74b597e96b5223e5ee8d88de5925d;p=koha_gimpoz diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index c979e72b26..419c0f2101 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -208,7 +208,7 @@ if ( $service and any { $service eq $_ } @services ) { # GetAvailability is a special case, as it cannot use XML::Simple if ( $service eq "GetAvailability" ) { print CGI::header('text/xml'); - print C4::ILSDI::GetAvailability($cgi); + print C4::ILSDI::Services::GetAvailability($cgi); exit 0; } else { @@ -228,12 +228,11 @@ if ( $service and any { $service eq $_ } @services ) { } # Output XML by passing the hashref to XMLOut -binmode(STDOUT, ":utf8"); +binmode STDOUT, ':encoding(UTF-8)'; print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8'); print XMLout( $out, noattr => 1, - noescape => 1, nosort => 1, xmldecl => '', RootName => $service,