From d7f9f71d223667a93d897c2ac76f6e2feb3d304f Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 6 May 2007 03:11:35 +0000 Subject: Fix bustage from checkin of Bug 374331--defaultlanguage parameter no longer exists, use $languages[0] instead. r=LpSolit --- Bugzilla/Install.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Install.pm') diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index 36254a9c1..c488ab314 100644 --- a/Bugzilla/Install.pm +++ b/Bugzilla/Install.pm @@ -36,6 +36,7 @@ use Bugzilla::Util qw(get_text); use Bugzilla::Version; sub SETTINGS { + my @languages = split(/[\s,]+/, Bugzilla->params->{'languages'}); return { # 2005-03-03 travis@sedsystems.ca -- Bug 41972 display_quips => { options => ["on", "off"], default => "on" }, @@ -58,8 +59,8 @@ sub SETTINGS { # 2006-08-04 wurblzap@gmail.com -- Bug 322693 skin => { subclass => 'Skin', default => 'standard' }, # 2006-12-10 LpSolit@gmail.com -- Bug 297186 - lang => { options => [split(/[\s,]+/, Bugzilla->params->{'languages'})], - default => Bugzilla->params->{'defaultlanguage'} } + lang => { options => \@languages, + default => $languages[0] } } }; -- cgit v1.2.3-24-g4f1b