From 24c32fe3d8141ac056c6350ae148cfc30ddadfea Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 4 Feb 2008 19:29:26 +0000 Subject: Bug 415155: Remove $cgi from the list of arguments when calling Bugzilla::Flag subroutines - Patch by Frédéric Buclin a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index 89edca2f4..988a1dedf 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -229,8 +229,8 @@ if (defined($cgi->upload('data')) || $cgi->param('attachurl')) { my $error_mode_cache = Bugzilla->error_mode; Bugzilla->error_mode(ERROR_MODE_DIE); eval { - Bugzilla::Flag::validate($cgi, $id, undef, SKIP_REQUESTEE_ON_ERROR); - Bugzilla::Flag->process($bug, undef, $timestamp, $cgi, $vars); + Bugzilla::Flag::validate($id, undef, SKIP_REQUESTEE_ON_ERROR); + Bugzilla::Flag->process($bug, undef, $timestamp, $vars); }; Bugzilla->error_mode($error_mode_cache); if ($@) { -- cgit v1.2.3-24-g4f1b