diff --git a/ext/user/main.php b/ext/user/main.php index 43813141..940a3198 100644 --- a/ext/user/main.php +++ b/ext/user/main.php @@ -297,7 +297,7 @@ class UserPage extends Extension { $rows = $database->db->GetAssoc(" SELECT owner_ip, - COUNT(images.id) AS count, + COUNT(comments.id) AS count, MAX(posted) AS most_recent FROM comments WHERE owner_id=?