summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-04 20:29:26 +0100
committerlpsolit%gmail.com <>2008-02-04 20:29:26 +0100
commit24c32fe3d8141ac056c6350ae148cfc30ddadfea (patch)
tree9b887cc8d182260e2a25b541bfd7b4fed8da1c00 /process_bug.cgi
parenta9053d2b041eb08f939711005c53b66f9610f9bc (diff)
downloadbugzilla-24c32fe3d8141ac056c6350ae148cfc30ddadfea.tar.gz
bugzilla-24c32fe3d8141ac056c6350ae148cfc30ddadfea.tar.xz
Bug 415155: Remove $cgi from the list of arguments when calling Bugzilla::Flag subroutines - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 7c5902e73..0e081b407 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -162,7 +162,7 @@ if (defined $cgi->param('dontchange')) {
# Validate flags in all cases. validate() should not detect any
# reference to flags if $cgi->param('id') is undefined.
-Bugzilla::Flag::validate($cgi, $cgi->param('id'));
+Bugzilla::Flag::validate($cgi->param('id'));
######################################################################
# End Data/Security Validation
@@ -550,7 +550,7 @@ foreach my $bug (@bug_objects) {
}
# Set and update flags.
- Bugzilla::Flag->process($bug, undef, $timestamp, $cgi, $vars);
+ Bugzilla::Flag->process($bug, undef, $timestamp, $vars);
$dbh->bz_commit_transaction();