Bug 5979 - Follow up: Change ISBD syspref description and fix warning in t/Biblio...
authorAlex Arnaud <alex.arnaud@biblibre.com>
Mon, 22 Feb 2016 13:44:14 +0000 (14:44 +0100)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Fri, 22 Apr 2016 03:14:23 +0000 (03:14 +0000)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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

Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>

C4/Biblio.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref

index 305df2c..9a7c86d 100644 (file)
@@ -924,6 +924,7 @@ Return the ISBD view which can be included in opac and intranet
 sub GetISBDView {
     my ( $biblionumber, $template ) = @_;
     my $record   = GetMarcBiblio($biblionumber, 1);
+    $template ||= '';
     my $sysprefname = $template eq 'opac' ? 'opacisbd' : 'isbd';
     return unless defined $record;
     my $itemtype = &GetFrameworkCode($biblionumber);
index c1a721a..02d8728 100644 (file)
@@ -162,7 +162,7 @@ Cataloging:
                   labeled_marc: Labelled MARC form
                   isbd: ISBD form (see below).
         -
-            - "Use the following as the ISBD template:"
+            - "Use the following as the staff ISBD template:"
             - pref: ISBD
               type: textarea
               class: code