Bug 21125: Shortcut moredetail.pl on nonexistent biblionumber
This replaces the solution for 17.11 on bug 20927. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
ef58eff737
commit
13cc5d3161
|
|
@ -99,6 +99,9 @@ for my $itm (@all_items) {
|
|||
|
||||
my $record=GetMarcBiblio({ biblionumber => $biblionumber });
|
||||
|
||||
output_and_exit( $query, $cookie, $template, 'unknown_biblio')
|
||||
unless $record;
|
||||
|
||||
my $hostrecords;
|
||||
# adding items linked via host biblios
|
||||
my @hostitems = GetHostItemsInfo($record);
|
||||
|
|
|
|||
Loading…
Reference in New Issue