]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 220034: empty form after changing bug details; patch by wicked@etlicon.fi (Teemu...
authorjocuri%softhome.net <>
Tue, 14 Oct 2003 04:38:13 +0000 (04:38 +0000)
committerjocuri%softhome.net <>
Tue, 14 Oct 2003 04:38:13 +0000 (04:38 +0000)
process_bug.cgi

index c79930464d3f3cd7ac7e731e48ed67bf74545233..e504fd7ea9f3b13c1a335a542eb6907043b8ad12 100755 (executable)
@@ -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());