Lines 40-47
if ($op eq "export") {
Link Here
|
40 |
if ($biblionumber){ |
40 |
if ($biblionumber){ |
41 |
|
41 |
|
42 |
my $marc = GetMarcBiblio($biblionumber, 1); |
42 |
my $marc = GetMarcBiblio($biblionumber, 1); |
43 |
|
43 |
if(!$marc) { |
44 |
if ($format =~ /endnote/) { |
44 |
$error="Record could not be found!"; |
|
|
45 |
} |
46 |
elsif ($format =~ /endnote/) { |
45 |
$marc = marc2endnote($marc); |
47 |
$marc = marc2endnote($marc); |
46 |
$format = 'endnote'; |
48 |
$format = 'endnote'; |
47 |
} |
49 |
} |
Lines 75-81
if ($op eq "export") {
Link Here
|
75 |
if ($error){ |
77 |
if ($error){ |
76 |
print $query->header(); |
78 |
print $query->header(); |
77 |
print $query->start_html(); |
79 |
print $query->start_html(); |
78 |
print "<h1>An error occured </h1>"; |
80 |
print "<h1>An error occurred </h1>"; |
79 |
print $error; |
81 |
print $error; |
80 |
print $query->end_html(); |
82 |
print $query->end_html(); |
81 |
} |
83 |
} |
82 |
- |
|
|