diff options
-rwxr-xr-x | editgroups.cgi | 2 | ||||
-rwxr-xr-x | query.cgi | 1 |
2 files changed, 3 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) { @@ -111,6 +111,7 @@ local our %default; # and ignore any multiple values. sub PrefillForm { my ($buf) = (@_); + my $cgi = Bugzilla->cgi; $buf = new Bugzilla::CGI($buf); my $foundone = 0; |