diff options
-rw-r--r-- | lib/gallery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.php b/lib/gallery.php index 5397138ab..d870b8a56 100644 --- a/lib/gallery.php +++ b/lib/gallery.php @@ -118,7 +118,7 @@ class GalleryAction extends Action { } common_pagination($page > 1, - $subs_count > AVATARS_PER_PAGE, + $cnt > $per_page, $page, $this->trimmed('action'), array('nickname' => $profile->nickname)); |