зеркало из https://github.com/mozilla/gecko-dev.git
Bug 220034: empty form after changing bug details; patch by wicked@etlicon.fi (Teemu Mannermaa); r=kiko, a=justdave.
This commit is contained in:
Родитель
cd32115037
Коммит
098a01af5b
|
@ -1749,6 +1749,9 @@ if ($next_bug) {
|
|||
my $bug = new Bug($next_bug, $::userid);
|
||||
ThrowCodeError("bug_error", { bug => $bug }) if $bug->error;
|
||||
|
||||
# next.html.tmpl includes edit.html.tmpl, and therefore we
|
||||
# need $bug defined in $vars.
|
||||
$vars->{'bug'} = $bug;
|
||||
$template->process("bug/process/next.html.tmpl", $vars)
|
||||
|| ThrowTemplateError($template->error());
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче