summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-13 21:35:12 +0200
committerlpsolit%gmail.com <>2005-08-13 21:35:12 +0200
commit9ab537a54529b0444df941fed04565bd1f1a32b2 (patch)
treefd5a027e2f78fa0b972b51ae1c39057932f81a50 /process_bug.cgi
parentdddc17ec8b38d7f90b7be7d9fd6ab9629077f3df (diff)
downloadbugzilla-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-xprocess_bug.cgi12
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;
}