From f9f4a63ea06a2feb6abd4171255900bfaa1d0f8a Mon Sep 17 00:00:00 2001 From: kados Date: Sun, 21 May 2006 01:54:13 +0000 Subject: [PATCH] merging dev-week and HEAD --- opac/opac-ISBDdetail.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index 580df9cfb2..986f598ea9 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -71,7 +71,7 @@ my $bibid = $query->param('bibid'); my $itemtype=""; my $tagslib = &MARCgettagslib($dbh,1,$itemtype); -my $record =get_record($biblionumber); +my $record =MARCgetbiblio($dbh,$bibid); #coping with subscriptions my $subscriptionsnumber = getsubscriptionfrombiblionumber($biblionumber); @@ -95,9 +95,7 @@ my ($template, $loggedinuser, $cookie) authnotrequired => 1, debug => 1, }); -$template->param(LibraryName => C4::Context->preference("LibraryName"), - suggestion => C4::Context->preference("suggestion"), - virtualshelves => C4::Context->preference("virtualshelves"), +$template->param( subscriptions => \@subs, subscriptionsnumber => $subscriptionsnumber, ); @@ -167,7 +165,7 @@ sub get_authorised_value_desc ($$$$$) { #---- branch if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) { - return getbranchdetail($value)->{branchname}; + return getbranchname($value); } #---- itemtypes -- 2.39.5