From c852522815333a8eb3879605f6a0e886dd985247 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Apr 2015 16:23:48 +0200 Subject: [PATCH] [PASSED QA] 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 Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- 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'}, -- 1.7.10.4