diff --git a/lib/profileminilist.php b/lib/profileminilist.php index f6f109c927..c6970f8088 100644 --- a/lib/profileminilist.php +++ b/lib/profileminilist.php @@ -55,7 +55,7 @@ class ProfileMiniList extends ProfileList while ($this->profile->fetch()) { $cnt++; - if($cnt > PROFILES_PER_PAGE) { + if($cnt > PROFILES_PER_MINILIST) { break; } $this->showProfile();