summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 7325d4765..4ddfcca2c 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1067,7 +1067,7 @@ foreach my $id (@idlist) {
$vars->{'oldvalue'} = $oldvalues[$i];
$vars->{'newvalue'} = $::FORM{$col};
$vars->{'field'} = $col;
- ThrowUserError("illegal_change", "abort");
+ ThrowUserError("illegal_change", undef, "abort");
}
}
$i++;
@@ -1082,7 +1082,7 @@ foreach my $id (@idlist) {
if ($value eq FetchOneColumn()) {
SendSQL("UNLOCK TABLES");
$vars->{'bug_id'} = $id;
- ThrowUserError("milestone_required", "abort");
+ ThrowUserError("milestone_required", undef, "abort");
}
}
if (defined $::FORM{'delta_ts'} && $::FORM{'delta_ts'} ne $delta_ts) {
@@ -1117,7 +1117,7 @@ foreach my $id (@idlist) {
next if $i eq "";
if ($id eq $i) {
- ThrowUserError("dependency_loop_single", "abort");
+ ThrowUserError("dependency_loop_single", undef, "abort");
}
if (!exists $seen{$i}) {
push(@{$deptree{$target}}, $i);
@@ -1161,7 +1161,7 @@ foreach my $id (@idlist) {
}
$vars->{'both'} = $both;
- ThrowUserError("dependency_loop_multi", "abort");
+ ThrowUserError("dependency_loop_multi", undef, "abort");
}
}
my $tmp = $me;