|
Lines 23-29
Link Here
|
| 23 |
use Modern::Perl; |
23 |
use Modern::Perl; |
| 24 |
|
24 |
|
| 25 |
use CGI q(-utf8); |
25 |
use CGI q(-utf8); |
| 26 |
use C4::Output qw( output_html_with_http_headers ); |
26 |
use C4::Output qw( output_html_with_http_headers output_and_exit ); |
| 27 |
use C4::Auth qw( get_template_and_user haspermission ); |
27 |
use C4::Auth qw( get_template_and_user haspermission ); |
| 28 |
use C4::Biblio |
28 |
use C4::Biblio |
| 29 |
qw( GetMarcFromKohaField GetMarcStructure GetUsedMarcStructure TransformHtmlToMarc ); |
29 |
qw( GetMarcFromKohaField GetMarcStructure GetUsedMarcStructure TransformHtmlToMarc ); |
|
Lines 678-683
if (!$biblionumber) {
Link Here
|
| 678 |
$biblionumber = $record->biblionumber; |
678 |
$biblionumber = $record->biblionumber; |
| 679 |
} |
679 |
} |
| 680 |
my $biblio = Koha::Biblios->find($biblionumber); |
680 |
my $biblio = Koha::Biblios->find($biblionumber); |
|
|
681 |
|
| 682 |
output_and_exit( $input, $cookie, $template, 'unknown_biblio') |
| 683 |
unless $biblio; |
| 684 |
|
| 681 |
build_tabs($template, $marc, C4::Context->dbh, '', $input); |
685 |
build_tabs($template, $marc, C4::Context->dbh, '', $input); |
| 682 |
$template->param( |
686 |
$template->param( |
| 683 |
holding_id => $holding_id, |
687 |
holding_id => $holding_id, |