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>
(cherry picked from commit 13cc5d3161)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
1ee0bafc73
commit
d2cff3c68c
|
|
@ -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