From a588a0cfc55bfc18f892684ca69673e6245f1b5a Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 22 Feb 2019 21:05:53 +0000 Subject: [PATCH] show the right IPs --- ext/user/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/user/theme.php b/ext/user/theme.php index 43b87e2c..d2f55b11 100644 --- a/ext/user/theme.php +++ b/ext/user/theme.php @@ -192,7 +192,7 @@ class UserPageTheme extends Themelet { $html .= "Logged Events:"; $n = 0; - foreach($comments as $ip => $count) { + foreach($events as $ip => $count) { $html .= '
'.$ip.' ('.$count.')'; if(++$n >= 20) { $html .= "
...";