aboutsummaryrefslogtreecommitdiffstats
path: root/editparams.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-04 04:26:20 +0000
committermkanat%bugzilla.org <>2006-07-04 04:26:20 +0000
commitb1f4cf8bdc4b49c02ebebbee2553202bc46ab720 (patch)
tree8dddf198fa0cb29b5cef3833ff3469f07d34fdf7 /editparams.cgi
parent49979b3775108f709cefbc9190eb9c7546aace94 (diff)
downloadbugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.gz
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.bz2
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.xz
bugs-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.zip
Bug 342869: Use Bugzilla->params everywhere except templates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editparams.cgi b/editparams.cgi
index f8c12f581..27db4654f 100755
--- a/editparams.cgi
+++ b/editparams.cgi
@@ -89,7 +89,7 @@ if ($action eq 'save' && $current_module) {
my $changed;
if ($i->{'type'} eq 'm') {
- my @old = sort @{Param($name)};
+ my @old = sort @{Bugzilla->params->{$name}};
my @new = sort @$value;
if (scalar(@old) != scalar(@new)) {
$changed = 1;
@@ -104,7 +104,7 @@ if ($action eq 'save' && $current_module) {
}
}
} else {
- $changed = ($value eq Param($name))? 0 : 1;
+ $changed = ($value eq Bugzilla->params->{$name})? 0 : 1;
}
if ($changed) {