From fc6789c20636f8104854b74209b658634831f4e5 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 Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- admin/branches.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/branches.pl b/admin/branches.pl index b240578e91..4a56f9d459 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.39.5