Lines 90-96
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
90 |
); |
90 |
); |
91 |
|
91 |
|
92 |
my $biblio_object = Koha::Biblios->find( $biblionumber ); # FIXME Should replace $biblio |
92 |
my $biblio_object = Koha::Biblios->find( $biblionumber ); # FIXME Should replace $biblio |
93 |
my $record = $biblio_object->metadata->record({ embed_items => 1 }); |
93 |
my $record; |
|
|
94 |
$record = $biblio_object->metadata->record({ embed_items => 1 }) if $biblio_object; |
94 |
|
95 |
|
95 |
if ( not defined $record ) { |
96 |
if ( not defined $record ) { |
96 |
# biblionumber invalid -> report and exit |
97 |
# biblionumber invalid -> report and exit |
97 |
- |
|
|