@@ -, +, @@ record --------- -- floody! with errors. -- just nice starting messages, not floody. --- catalogue/MARCdetail.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/catalogue/MARCdetail.pl +++ a/catalogue/MARCdetail.pl @@ -90,7 +90,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $record = GetMarcBiblio({ biblionumber => $biblionumber, embed_items => 1 }); -$template->param( ocoins => GetCOinSBiblio($record) ); if ( not defined $record ) { # biblionumber invalid -> report and exit @@ -101,6 +100,8 @@ if ( not defined $record ) { exit; } +$template->param( ocoins => GetCOinSBiblio($record) ); + my $biblio_object = Koha::Biblios->find( $biblionumber ); # FIXME Should replace $biblio my $tagslib = &GetMarcStructure(1,$frameworkcode); my $biblio = GetBiblioData($biblionumber); --