aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-05-06 03:11:35 +0000
committermkanat%bugzilla.org <>2007-05-06 03:11:35 +0000
commitd7f9f71d223667a93d897c2ac76f6e2feb3d304f (patch)
tree3d31f03e40d1047d7703d3a57fac728c9f826bdd /editparams.cgi
parentBug 374331: Bugzilla::Template should use template_include_path from Bugzilla... (diff)
downloadbugzilla-d7f9f71d223667a93d897c2ac76f6e2feb3d304f.tar.gz
bugzilla-d7f9f71d223667a93d897c2ac76f6e2feb3d304f.tar.bz2
bugzilla-d7f9f71d223667a93d897c2ac76f6e2feb3d304f.zip
Fix bustage from checkin of Bug 374331--defaultlanguage parameter no longer exists, use $languages[0] instead. r=LpSolit
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editparams.cgi b/editparams.cgi
index ca74df685..7d280474b 100755
--- a/editparams.cgi
+++ b/editparams.cgi
@@ -145,7 +145,7 @@ if ($action eq 'save' && $current_module) {
# then we delete it (the user pref is reset to the default one).
my @languages = split(/[\s,]+/, Bugzilla->params->{'languages'});
map {trick_taint($_)} @languages;
- add_setting('lang', \@languages, Bugzilla->params->{'defaultlanguage'}, undef, 1);
+ add_setting('lang', \@languages, $languages[0], undef, 1);
}
$vars->{'message'} = 'parameters_updated';