From 99a2002d35dbf9f8b512c294a30bf32d43c98a09 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: Mason James --- admin/branches.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/branches.pl b/admin/branches.pl index 9e6b14a0a4..dbc36acba8 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