From: jocuri%softhome.net <> Date: Tue, 14 Oct 2003 04:38:13 +0000 (+0000) Subject: Bug 220034: empty form after changing bug details; patch by wicked@etlicon.fi (Teemu... X-Git-Tag: bugzilla-2.17.5~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07813cf195d2934580f9d6f3caa4d819fb62f4b;p=thirdparty%2Fbugzilla.git Bug 220034: empty form after changing bug details; patch by wicked@etlicon.fi (Teemu Mannermaa); r=kiko, a=justdave. --- diff --git a/process_bug.cgi b/process_bug.cgi index c79930464d..e504fd7ea9 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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());