From 70f2b4bd0aeb1c09e988595df7da27279659f56d Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Wed, 24 Oct 2012 15:30:24 +0200 Subject: [PATCH 1/1] Bug 3652 follow-up reverting call to param('bib') could probably also be removed in opac-detail.pl, but it was still here before Jared patch. So, in case something is still using bib I haven't removed this call --- opac/opac-ISBDdetail.pl | 2 +- opac/opac-MARCdetail.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index 8c29936737..be628795e1 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -66,7 +66,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $biblionumber = $query->param('biblionumber') || $query->param('bib'); +my $biblionumber = $query->param('biblionumber'); $biblionumber = int($biblionumber); # get biblionumbers stored in the cart diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index f39f2d2083..ac13a9d2c0 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -57,7 +57,7 @@ my $query = new CGI; my $dbh = C4::Context->dbh; -my $biblionumber = $query->param('biblionumber') || $query->param('bib'); +my $biblionumber = $query->param('biblionumber'); my $itemtype = &GetFrameworkCode($biblionumber); my $tagslib = &GetMarcStructure( 0, $itemtype ); my $biblio = GetBiblioData($biblionumber); -- 2.11.0