summaryrefslogtreecommitdiff
path: root/local/menu.pm
diff options
context:
space:
mode:
Diffstat (limited to 'local/menu.pm')
-rw-r--r--local/menu.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/menu.pm b/local/menu.pm
index 62d5947..d5078ff 100644
--- a/local/menu.pm
+++ b/local/menu.pm
@@ -31,7 +31,7 @@ sub start_html
my ($title)=@_;
my $active = $self->{REQUEST_URI};
my $html= CGI::start_html(-style=>{'src'=>'/style.css'},-title=>$title);
- my $user = new local::user($ENV{REMOTE_USER});
+ my $user = new local::user(%ENV);
$html.= table({class=>'nohigh'},Tr({class=>'nohigh'},td({style=>'font-weight: bold'},[$config::config{page_name} ]),td({class=>'login',align=>'right'},['<nobr>'.b('Angemeldet&nbsp;als:&nbsp;').$user->get_name.'</nobr>'])));
$html.= CGI::start_div({class=>'bodydiv'});
my @elements;