From 06d8b7e3f04a049355463f4f6215ea417913d99f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 11 Sep 2024 10:10:28 -0300 Subject: [PATCH] Bug 37870: Tidy Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- Koha/UI/Form/Builder/Item.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Koha/UI/Form/Builder/Item.pm b/Koha/UI/Form/Builder/Item.pm index 1ab305b2fa..2ace11b403 100644 --- a/Koha/UI/Form/Builder/Item.pm +++ b/Koha/UI/Form/Builder/Item.pm @@ -244,14 +244,14 @@ sub generate_subfield_form { my $default_source = C4::Context->preference("DefaultClassificationSource"); - foreach my $class_source (sort {fc($a) cmp fc($b)} keys %$class_sources) { + foreach my $class_source ( sort { fc($a) cmp fc($b) } keys %$class_sources ) { next - unless $class_sources->{$class_source}->{'used'} - or ( $value and $class_source eq $value ) - or ( $class_source eq $default_source ); + unless $class_sources->{$class_source}->{'used'} + or ( $value and $class_source eq $value ) + or ( $class_source eq $default_source ); push @authorised_values, $class_source; $authorised_lib{$class_source} = - $class_sources->{$class_source}->{'description'}; + $class_sources->{$class_source}->{'description'}; } $value = $default_source if !$value && $prefill_with_default_values; -- 2.39.5