]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 143066 - footer shows as logged out on show_bug.cgi. Patch by gerv; 2xr=ddk
authorgerv%gerv.net <>
Thu, 9 May 2002 02:02:58 +0000 (02:02 +0000)
committergerv%gerv.net <>
Thu, 9 May 2002 02:02:58 +0000 (02:02 +0000)
bug_form.pl

index b074cdb15889a0c4ebf561426d80aa4f9b46b60e..61bba183a6ce3df1123d8f83fa6c54cfe6aee6fa 100644 (file)
@@ -72,7 +72,7 @@ sub show_bug {
       exit;
     }
     
-    my %user;
+    my %user = %{$vars->{'user'}};
     my %bug;
 
     # Populate the bug hash with the info we get directly from the DB.
@@ -309,7 +309,6 @@ sub show_bug {
 
     # Add the bug and user hashes to the variables
     $vars->{'bug'} = \%bug;
-    $vars->{'user'} = \%user;
 
     # Generate and return the UI (HTML page) from the appropriate template.
     $template->process("bug/edit.html.tmpl", $vars)