Bug 3652 follow-up reverting call to param('bib')
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 24 Oct 2012 13:30:24 +0000 (15:30 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 24 Oct 2012 13:30:24 +0000 (15:30 +0200)
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
opac/opac-MARCdetail.pl

index 8c29936..be62879 100755 (executable)
@@ -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
index f39f2d2..ac13a9d 100755 (executable)
@@ -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);