Bug 28915: (RM follow-up): Remove dead code + typo fix

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Pedro Amorim 2026-06-15 15:10:09 +00:00
parent e0fb33c3a7
commit f099cb0d62
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 6 additions and 8 deletions

View File

@ -346,12 +346,10 @@ sub _update_controlfield {
parameter => 'subfield',
);
}
my $position = $params->{position} ? $params->{position} + 0 : 0; # converts 01 to 1
my @values = @{ $params->{values} };
my $value = $values[0];
my $dont_erase = $params->{dont_erase};
my $field_numbers = $params->{field_numbers} // [];
my $i = 0;
my $position = $params->{position} ? $params->{position} + 0 : 0; # converts 01 to 1
my @values = @{ $params->{values} };
my $value = $values[0];
my $dont_erase = $params->{dont_erase};
my $field = $record->field($fieldName);

View File

@ -13,10 +13,10 @@ return {
# Print useful stuff here
# tables
say $out "Modifying marc_modification_template_actions.from_subfield to VARCHR(2)";
say $out "Modifying marc_modification_template_actions.from_subfield to VARCHAR(2)";
# Other information
say_success( $out, "Modified marc_modification_template_actions.from_subfield to VARCHR(2)" );
say_success( $out, "Modified marc_modification_template_actions.from_subfield to VARCHAR(2)" );
},
};