show the right IPs

This commit is contained in:
Shish 2019-02-22 21:05:53 +00:00
parent a8dfc9277b
commit a588a0cfc5

View file

@ -192,7 +192,7 @@ class UserPageTheme extends Themelet {
$html .= "</td><td>Logged Events:";
$n = 0;
foreach($comments as $ip => $count) {
foreach($events as $ip => $count) {
$html .= '<br>'.$ip.' ('.$count.')';
if(++$n >= 20) {
$html .= "<br>...";