From 0ed37aaf77fdba9277fc20e9aa859735aff3623e Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 22 Feb 2016 14:44:14 +0100 Subject: [PATCH] Bug 5979 - Follow up: Change ISBD syspref description and fix warning in t/Biblio/Isbd.t Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- C4/Biblio.pm | 1 + .../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 305df2caec..9a7c86db72 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 c1a721a6ac..02d8728104 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.39.5