From 234443dff9574a7a64079e4a9a3d34967ede9be9 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 22 Feb 2016 14:44:14 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 5979 - Follow up: Change ISBD syspref description and fix warning in t/Biblio/Isbd.t Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard --- C4/Biblio.pm | 1 + .../intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index ea015e9..124cc02 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -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); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref index c1a721a..02d8728 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref @@ -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 -- 2.1.4