Fix HTML table generation for Active Sessions. Fixes bug #11832

This commit is contained in:
Colin Kuskie 2010-09-02 13:15:07 -07:00
parent f65ae74e54
commit 055b72de7f
2 changed files with 2 additions and 1 deletions

View file

@ -86,7 +86,7 @@ sub www_viewActiveSessions {
and users.userId<>1 order by users.username,userSession.lastPageView desc");
my $pn = $p->getPageNumber;
foreach my $data (@{ $p->getPageData() }) {
$output = '<tr class="tableData"><td>'.$data->{username}.' ('.$data->{userId}.')</td>';
$output .= '<tr class="tableData"><td>'.$data->{username}.' ('.$data->{userId}.')</td>';
$output .= '<td>'.$data->{sessionId}.'</td>';
$output .= '<td>'.$session->datetime->epochToHuman($data->{expires}).'</td>';
$output .= '<td>'.$session->datetime->epochToHuman($data->{lastPageView}).'</td>';