From 7860869beb53977bbece6c177644ebce056c5298 Mon Sep 17 00:00:00 2001
From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Date: Tue, 10 Oct 2017 15:50:24 +0200
Subject: [PATCH] Bug 19439: (Follow-up) Remove four spaces from lines 133-149
Content-Type: text/plain; charset=utf-8

Speaks for itself. No test plan.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 opac/unapi | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/opac/unapi b/opac/unapi
index b608210..9202683 100755
--- a/opac/unapi
+++ b/opac/unapi
@@ -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 $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 $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,
+        });
 
         if( !defined $content || $xslt_engine->err ) {
             print $cgi->header( -status => '500 internal error' );
-- 
2.1.4