From: Evan Prodromou Date: Thu, 20 Nov 2008 12:24:11 +0000 (-0500) Subject: correct pagination criteria X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83a091de8c26deb5038348e571b54ac85e2efe30;p=quix0rs-gnu-social.git correct pagination criteria darcs-hash:20081120122411-84dde-86319f13b241ebe4557561106014035653d5e197.gz --- 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));