summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-28 04:43:05 +0200
committerlpsolit%gmail.com <>2005-07-28 04:43:05 +0200
commit251d436a31f7c4b998e8c8e5e6c353ec405cadc8 (patch)
tree84db35da41de562d951ef08de1092075f71df5d8 /process_bug.cgi
parentb8c9e238b76b53eb614bcad37c8e119d0ab84c31 (diff)
downloadbugzilla-251d436a31f7c4b998e8c8e5e6c353ec405cadc8.tar.gz
bugzilla-251d436a31f7c4b998e8c8e5e6c353ec405cadc8.tar.xz
Bug 301446: Changing several bugs at once crashes if the user wants to automatically redisplay the bug he changed - Patch by byron jones (glob) <bugzilla@glob.com.au> r=LpSolit a=myk
Diffstat (limited to 'process_bug.cgi')
-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;