From 83a091de8c26deb5038348e571b54ac85e2efe30 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 07:24:11 -0500 Subject: [PATCH] correct pagination criteria darcs-hash:20081120122411-84dde-86319f13b241ebe4557561106014035653d5e197.gz --- lib/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gallery.php b/lib/gallery.php index 5397138ab9..d870b8a569 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)); -- 2.39.5