aboutsummaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-10-08 02:32:23 +0000
committermkanat%bugzilla.org <>2007-10-08 02:32:23 +0000
commit49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3 (patch)
treef21c361c9c870ea80a0a8664224c5b9359397208 /editgroups.cgi
parent092135aa657ecdb1742090ad2592cf1e91179df8 (diff)
downloadbugs-49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3.tar
bugs-49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3.tar.gz
bugs-49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3.tar.bz2
bugs-49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3.tar.xz
bugs-49d12c8c90c1bc6c72f0b3d1324a23002e79b6d3.zip
Bug 398883: [mod_perl] Three Variable "$cgi" will not stay shared errors in current CVS HEAD
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index b9503426b..43875da51 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -609,6 +609,7 @@ sub doGroupChanges {
sub _do_add {
my ($group, $changes, $sth_insert, $field, $type, $reverse) = @_;
+ my $cgi = Bugzilla->cgi;
my $current;
# $reverse means we're doing a granted_by--that is, somebody else
@@ -639,6 +640,7 @@ sub _do_add {
sub _do_remove {
my ($group, $changes, $sth_delete, $field, $type, $reverse) = @_;
+ my $cgi = Bugzilla->cgi;
my $remove_items = Bugzilla::Group->new_from_list([$cgi->param($field)]);
foreach my $remove (@$remove_items) {