Bug 12648: Fix conflict with bug 8096
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 11 Mar 2015 15:35:18 +0000 (16:35 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 17:16:17 +0000 (14:16 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Patch fixes the regression found while testing. Thanks for the fast response Jonathan

koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc

index 88b0f3f..dbcab25 100644 (file)
@@ -8,9 +8,9 @@
             [%- borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %]
         [%- END -%]
     [%- END -%]
-    [% IF ( borrower.cardnumber ) %]
+    [%- IF ( borrower.cardnumber ) -%]
         ([% borrower.cardnumber %])
-    [% END %]
+    [%- END %]
 [%- ELSIF ( borrowernumber ) %]
     [%- IF category_type == 'I' %]
         [%- surname %] [% IF othernames %] ([% othernames %]) [% END %]
@@ -21,7 +21,7 @@
             [%- firstname %] [% IF othernames %] ([% othernames %]) [% END %] [% surname %]
         [%- END %]
     [%- END -%]
-    [% IF ( cardnumber ) %]
+    [%- IF ( cardnumber ) -%]
         ([% cardnumber %])
-    [% END %]
+    [%- END %]
 [%- END -%]