Bug 19439: (follow-up) Remove four spaces from lines 133-149

Speaks for itself. No test plan.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2017-10-10 15:50:24 +02:00 committed by Nick Clemens
parent 8b4a24670a
commit dc06795ff7
1 changed files with 16 additions and 16 deletions

View File

@ -130,23 +130,23 @@ if (not defined $format) {
my $content;
my $marcxml = GetXmlBiblio($biblionumber);
unless (defined $marcxml) {
# no bib, so 404
print $cgi->header( -status => '404 record not found');
exit 0;
}
my $marcxml = GetXmlBiblio($biblionumber);
unless (defined $marcxml) {
# no bib, so 404
print $cgi->header( -status => '404 record not found');
exit 0;
}
my $xslt_file = get_xslt_file( $format, $format_to_stylesheet_map, $format_info );
unless( defined $xslt_file ) {
print $cgi->header( -status => '406 invalid format requested' );
exit 0;
}
my $xslt_engine = Koha::XSLT_Handler->new;
$content = $xslt_engine->transform({
xml => $marcxml,
file => $xslt_file,
});
my $xslt_file = get_xslt_file( $format, $format_to_stylesheet_map, $format_info );
unless( defined $xslt_file ) {
print $cgi->header( -status => '406 invalid format requested' );
exit 0;
}
my $xslt_engine = Koha::XSLT_Handler->new;
$content = $xslt_engine->transform({
xml => $marcxml,
file => $xslt_file,
});
if( !defined $content || $xslt_engine->err ) {
print $cgi->header( -status => '500 internal error' );