|
Lines 661-673
if ($op eq "duplicate")
Link Here
|
| 661 |
} |
661 |
} |
| 662 |
|
662 |
|
| 663 |
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypetext'] } ); |
663 |
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypetext'] } ); |
|
|
664 |
my $authtypetext = $authority_types->find($authtypecode); |
| 665 |
$authtypetext = $authtypetext->authtypetext if $authtypetext; |
| 664 |
|
666 |
|
| 665 |
$template->param( |
667 |
$template->param( |
| 666 |
authority_types => $authority_types, |
668 |
authority_types => $authority_types, |
| 667 |
authtypecode => $authtypecode, |
669 |
authtypecode => $authtypecode, |
| 668 |
authid => $authid, |
670 |
authid => $authid, |
| 669 |
linkid => $linkid, |
671 |
linkid => $linkid, |
| 670 |
authtypetext => $authority_types->find($authtypecode)->authtypetext, |
672 |
authtypetext => $authtypetext, |
| 671 |
hide_marc => C4::Context->preference('hide_marc'), |
673 |
hide_marc => C4::Context->preference('hide_marc'), |
| 672 |
); |
674 |
); |
| 673 |
output_html_with_http_headers $input, $cookie, $template->output; |
675 |
output_html_with_http_headers $input, $cookie, $template->output; |
| 674 |
- |
|
|