From 3e732aa6cf7adaa4bd101ec1a3938d4bc1e13ef1 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Tue, 26 Jul 2022 12:02:16 +0300 Subject: [PATCH] Bug 31238: Fix typo in marc_subfields_structure.pl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit After bug 29001 one is unable to save authorised value to frameworks subfields. This is caused by minor typo in marc_subfields_structure.pl. To test: 1. Edit e.g. default frameworks subfield 952$8 2. Add or change fields authorised value 3. Save your changes => note that on subfield listing there is no mention that 952$8 is linked to any authorised value => if you edit 952$8 authorised value input is empty 4. Apply this patch. 5. Repeat steps 1.-3. => authorised value should now be saved Sponsored-by: Koha-Suomi Oy Signed-off-by: Emmanuel Bétemps Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c39e47cbf3af9b7fcedbfd3a3e0efcffb74efb10) Signed-off-by: Lucas Gass --- admin/marc_subfields_structure.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 6f14212280..a2755df645 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -228,7 +228,7 @@ elsif ( $op eq 'add_validate' ) { my $kohafield = $input->param("kohafield_$id"); my $tab = $input->param("tab_$id"); my $seealso = $input->param("seealso_$id"); - my $authorised_value = $input->param("authorised_values_$id"); + my $authorised_value = $input->param("authorised_value_$id"); my $authtypecode = $input->param("authtypecodes_$id"); my $value_builder = $input->param("value_builder_$id"); my $hidden = $input->param("hidden_$id"); -- 2.39.5