зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
eb49fa8f3a
Коммит
c620333dbe
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче