diff options
author | lpsolit%gmail.com <> | 2005-08-13 21:35:12 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-13 21:35:12 +0200 |
commit | 9ab537a54529b0444df941fed04565bd1f1a32b2 (patch) | |
tree | fd5a027e2f78fa0b972b51ae1c39057932f81a50 /process_bug.cgi | |
parent | dddc17ec8b38d7f90b7be7d9fd6ab9629077f3df (diff) | |
download | bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.gz bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.xz |
Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index e92d0f24e..b1b9c8050 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1288,8 +1288,8 @@ foreach my $id (@idlist) { } if (defined $cgi->param('delta_ts') && $cgi->param('delta_ts') ne $delta_ts) { - ($vars->{'operations'}) = Bugzilla::Bug::GetBugActivity($cgi->param('id'), - $cgi->param('delta_ts')); + ($vars->{'operations'}) = + Bugzilla::Bug::GetBugActivity($id, $cgi->param('delta_ts')); $vars->{'start_at'} = $cgi->param('longdesclength'); @@ -1310,8 +1310,8 @@ foreach my $id (@idlist) { } # Gather the dependency list, and make sure there are no circular refs - my %deps = Bugzilla::Bug::ValidateDependencies($cgi->param('dependson'), - $cgi->param('blocked'), + my %deps = Bugzilla::Bug::ValidateDependencies(scalar($cgi->param('dependson')), + scalar($cgi->param('blocked')), $id); # @@ -1335,8 +1335,8 @@ foreach my $id (@idlist) { } if ($cgi->param('comment') || $work_time) { - AppendComment($id, $whoid, $cgi->param('comment'), - $cgi->param('commentprivacy'), $timestamp, $work_time); + AppendComment($id, $whoid, scalar($cgi->param('comment')), + scalar($cgi->param('commentprivacy')), $timestamp, $work_time); $bug_changed = 1; } |