diff options
author | mkanat%bugzilla.org <> | 2007-05-06 05:11:35 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-05-06 05:11:35 +0200 |
commit | d7f9f71d223667a93d897c2ac76f6e2feb3d304f (patch) | |
tree | 3d31f03e40d1047d7703d3a57fac728c9f826bdd /Bugzilla | |
parent | e6365732c21ba888fc70bfb7eaa7d1d50408bb7a (diff) | |
download | bugzilla-d7f9f71d223667a93d897c2ac76f6e2feb3d304f.tar.gz bugzilla-d7f9f71d223667a93d897c2ac76f6e2feb3d304f.tar.xz |
Fix bustage from checkin of Bug 374331--defaultlanguage parameter no longer exists, use $languages[0] instead. r=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Install.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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] } } }; |