From 2bdd8ebd1e12ed0ab185af2cd7d57f70811a30e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Wed, 18 May 2011 10:32:44 -0400 Subject: [PATCH] Bug 6363 : Make the "Item Location" selectbox appears correctly in inventory.pl The "Item Location" selectbox didn't appear when the only available MARC framework was the default framework. Signed-off-by: Katrin Fischer Signed-off-by: Chris Cormack --- tools/inventory.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/inventory.pl b/tools/inventory.pl index cc7e8a76ac..7ca8bafe7c 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -77,6 +77,8 @@ my @authorised_value_list; my $authorisedvalue_categories = ''; my $frameworks = getframeworks(); +$frameworks->{''} = {frameworkcode => ''}; # Add the default framework + for my $fwk (keys %$frameworks){ my $fwkcode = $frameworks->{$fwk}->{'frameworkcode'}; my $authcode = GetAuthValCode('items.location', $fwkcode); -- 2.39.5