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
git-svn-id: svn://10.0.0.236/trunk@176693 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user