summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprocess_bug.cgi7
1 files changed, 6 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 50fde12eb..2d3be2ff2 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1826,7 +1826,12 @@ eval {
$vars->{'patchviewerinstalled'} = 1;
};
-$action = Bugzilla->user->settings->{'post_bug_submit_action'}->{'value'};
+if (defined $cgi->param('id')) {
+ $action = Bugzilla->user->settings->{'post_bug_submit_action'}->{'value'};
+} else {
+ # param('id') is not defined when changing multiple bugs
+ $action = 'nothing';
+}
if ($action eq 'next_bug') {
my $next_bug;