View | Details | Raw Unified | Return to bug 11329
Collapse All | Expand All

(-)a/opac/opac-showmarc.pl (-1 / +4 lines)
Lines 54-59 if ($importid) { Link Here
54
else {
54
else {
55
    $record =GetMarcBiblio($biblionumber);
55
    $record =GetMarcBiblio($biblionumber);
56
}
56
}
57
if(!ref $record) {
58
    print $input->redirect("/cgi-bin/koha/errors/404.pl");
59
    exit;
60
}
57
61
58
if ($view eq 'card' || $view eq 'html') {
62
if ($view eq 'card' || $view eq 'html') {
59
    my $xmlrecord= $importid? $record->as_xml(): GetXmlBiblio($biblionumber);
63
    my $xmlrecord= $importid? $record->as_xml(): GetXmlBiblio($biblionumber);
60
- 

Return to bug 11329