Fix remaining _SPC_ in username. Thanks to roshanroche for the report.

This commit is contained in:
Darold Gilles 2016-10-14 14:39:48 +02:00
parent d3528df0a9
commit 719871c2a2
1 changed files with 3 additions and 1 deletions

View File

@ -5303,7 +5303,9 @@ sub _print_top_denied_stat
}; };
my $k = 1; my $k = 1;
foreach my $user (sort { $denied_stat{$u}{users}{$b} <=> $denied_stat{$u}{users}{$a} } keys %{$denied_stat{$u}{users}}) { foreach my $user (sort { $denied_stat{$u}{users}{$b} <=> $denied_stat{$u}{users}{$a} } keys %{$denied_stat{$u}{users}}) {
print $out "<tr><td>$user</td><td>$denied_stat{$u}{users}{$user}</td></tr>\n"; my $usr_lbl = $user;
$usr_lbl =~ s/_SPC_/ /g;
print $out "<tr><td>$usr_lbl</td><td>$denied_stat{$u}{users}{$user}</td></tr>\n";
$k++; $k++;
last if ($k > $self->{TopUrlUser}); last if ($k > $self->{TopUrlUser});
} }