X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=opac%2Fopac-MARCdetail.pl;h=754490208f25ab52829e0464a86b0d8e5b39da70;hb=24d3e5b2577767d12b8318a7a612ec3ac14f8657;hp=fd909f5e8138b10646415f087ef17ad3b402d1f8;hpb=2a3f7c141798121a75fc9ee670af0fdde431d9c2;p=koha.git diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index fd909f5e81..754490208f 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl # Copyright 2000-2002 Katipo Communications +# Parts copyright 2010 BibLibre # # This file is part of Koha. # @@ -60,7 +61,7 @@ my $biblionumber = $query->param('biblionumber'); my $itemtype = &GetFrameworkCode($biblionumber); my $tagslib = &GetMarcStructure( 0, $itemtype ); my $biblio = GetBiblioData($biblionumber); -my $record = GetMarcBiblio($biblionumber); +my $record = GetMarcBiblio($biblionumber, 1); if ( ! $record ) { print $query->redirect("/cgi-bin/koha/errors/404.pl"); exit; @@ -193,7 +194,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { undef @subfields_data; } } - $template->param( $tabloop . "XX" => \@loop_data ); + $template->param( "tab" . $tabloop . "XX" => \@loop_data ); }