diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 07:24:11 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 07:24:11 -0500 |
commit | 83a091de8c26deb5038348e571b54ac85e2efe30 (patch) | |
tree | 6c506574acf3257eeba75409708933ae3875e2d1 | |
parent | d04556bf01721c39c36a52e1b4b983f185929fb2 (diff) |
correct pagination criteria
darcs-hash:20081120122411-84dde-86319f13b241ebe4557561106014035653d5e197.gz
-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)); |