Bug 30930: (QA follow-up) Tidy code block
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
cc61cd6313
commit
8fd51b2a63
1 changed files with 17 additions and 12 deletions
|
@ -631,19 +631,24 @@ if ($op eq "add") {
|
|||
}
|
||||
exit;
|
||||
} else {
|
||||
if ($op eq "duplicate")
|
||||
{
|
||||
if ( $op eq "duplicate" ) {
|
||||
$authid = "";
|
||||
}
|
||||
|
||||
if ( $changed_authtype eq "changed" ) {
|
||||
$record = TransformHtmlToMarc( $input, 0 );
|
||||
}
|
||||
|
||||
build_tabs( $template, $record, $dbh, $input );
|
||||
build_hidden_data;
|
||||
$template->param(oldauthtypetagfield=>$oldauthtypetagfield, oldauthtypetagsubfield=>$oldauthtypetagsubfield,
|
||||
oldauthnumtagfield=>$oldauthnumtagfield, oldauthnumtagsubfield=>$oldauthnumtagsubfield,
|
||||
authid => $authid , authtypecode=>$authtypecode, );
|
||||
$template->param(
|
||||
oldauthtypetagfield => $oldauthtypetagfield,
|
||||
oldauthtypetagsubfield => $oldauthtypetagsubfield,
|
||||
oldauthnumtagfield => $oldauthnumtagfield,
|
||||
oldauthnumtagsubfield => $oldauthnumtagsubfield,
|
||||
authid => $authid,
|
||||
authtypecode => $authtypecode,
|
||||
);
|
||||
}
|
||||
|
||||
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypetext'] } );
|
||||
|
|
Loading…
Reference in a new issue