summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/profileminilist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profileminilist.php b/lib/profileminilist.php
index f6f109c92..c6970f808 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();