Commit 251d436a authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 301446: Changing several bugs at once crashes if the user wants to…

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
parent b8c9e238
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment