From 7a39d1d50bce337dbaae215eba9a7240595cc5ce Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Apr 2015 16:23:48 +0200 Subject: [PATCH] Bug 8802: On editing a library group category type is not set The category type was always set to 'searchdomain', because it's the first of the dropdown list. Test plan: 1/ Create or edit a library group 2/ Set the category type to "properties" 3/ Edit it again 4/ Confirm "properties" is correctly selected --- admin/branches.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/branches.pl b/admin/branches.pl index a698a26..583c712 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -284,7 +284,7 @@ sub editcatform { my @cats; my $data; if ($categorycode) { - my $data = GetBranchCategory($categorycode); + $data = GetBranchCategory($categorycode); $innertemplate->param( categorycode => $data->{'categorycode'}, categoryname => $data->{'categoryname'}, -- 2.1.0