Bug 3873: follow-up for all other pages
This should fix the issue on other pages. Test plan: Try to download and export the basket (intranet+opac sides). Re-tested for errors in comment #5, they do not longer appear. Signed-off-by: Marc Veron <veron@veron.ch> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
4c4c870dfe
commit
3adddd3410
4 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,7 @@ if ($bib_list && $format) {
|
|||
foreach my $biblio (@bibs) {
|
||||
|
||||
my $record = GetMarcBiblio($biblio, 1);
|
||||
next unless $record;
|
||||
|
||||
if ($format eq 'iso2709') {
|
||||
$output .= $record->as_usmarc();
|
||||
|
|
|
@ -72,6 +72,7 @@ if ( $email_add ) {
|
|||
$template2->param( biblionumber => $biblionumber );
|
||||
|
||||
my $dat = GetBiblioData($biblionumber);
|
||||
next unless $dat;
|
||||
my $record = GetMarcBiblio($biblionumber, 1);
|
||||
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
|
||||
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
|
||||
|
|
|
@ -63,6 +63,7 @@ foreach my $biblionumber ( @bibs ) {
|
|||
$template->param( biblionumber => $biblionumber );
|
||||
|
||||
my $dat = &GetBiblioData($biblionumber);
|
||||
next unless $dat;
|
||||
my $record = &GetMarcBiblio($biblionumber);
|
||||
next unless $record;
|
||||
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
|
||||
|
|
|
@ -87,6 +87,7 @@ if ( $email_add ) {
|
|||
$template2->param( biblionumber => $biblionumber );
|
||||
|
||||
my $dat = GetBiblioData($biblionumber);
|
||||
next unless $dat;
|
||||
my $record = GetMarcBiblio($biblionumber, 1);
|
||||
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
|
||||
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
|
||||
|
|
Loading…
Reference in a new issue