summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Util.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-08-21 04:05:43 +0200
committerlpsolit%gmail.com <>2007-08-21 04:05:43 +0200
commit5a1fdacb12095b417382c15186e5aaaec7eed3a1 (patch)
tree829ee3551e21d2272364de2bb83752605578ccca /Bugzilla/Install/Util.pm
parentc96f82df77c6135e81a7fb87cc18166f507e24e3 (diff)
downloadbugzilla-5a1fdacb12095b417382c15186e5aaaec7eed3a1.tar.gz
bugzilla-5a1fdacb12095b417382c15186e5aaaec7eed3a1.tar.xz
Bug 335354: editparams.cgi crashes when editing the 'languages' and 'defaultlanguage' parameters - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap, mkanat a=LpSolit
Diffstat (limited to 'Bugzilla/Install/Util.pm')
-rw-r--r--Bugzilla/Install/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 931d9f1b5..9bab77a8a 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -127,7 +127,7 @@ sub template_include_path {
my @supported;
if (defined $params->{use_languages}) {
- @supported = $params->{use_languages};
+ @supported = @{$params->{use_languages}};
}
else {
my @dirs = glob(bz_locations()->{'templatedir'} . "/*");