summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 09:58:14 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 09:58:14 -0500
commit0c935b4ace3c1690b8e93022ec633f42aae92c27 (patch)
treec8ffe1b7fcbae46a5bddb12ac3ac8b41a1c63327 /lib
parentd8c18ae39b4970988a9ad969fb9c2f246ea6428a (diff)
try to fix up pagination again
darcs-hash:20081120145814-84dde-f0d8fb0756935e16516778c521eb263064c5bd96.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.php b/lib/gallery.php
index fe3673354..0ac9fd4ef 100644
--- a/lib/gallery.php
+++ b/lib/gallery.php
@@ -201,13 +201,13 @@ class GalleryAction extends Action {
common_element('a', array('href' => common_local_url($this->trimmed('action'),
array('display' => 'icons',
'nickname' => $profile->nickname,
- 'page' => 1 + floor((($page - 1) * AVATARS_PER_PAGE) / PROFILES_PER_PAGE)))),
+ 'page' => 1 + floor((($page - 1) * PROFILES_PER_PAGE) / AVATARS_PER_PAGE)))),
_('Icons'));
break;
default:
common_element('a', array('href' => common_local_url($this->trimmed('action'),
array('nickname' => $profile->nickname,
- 'page' => 1 + floor((($page - 1) * PROFILES_PER_PAGE) / AVATARS_PER_PAGE)))),
+ 'page' => 1 + floor((($page - 1) * AVATARS_PER_PAGE) / PROFILES_PER_PAGE)))),
_('List'));
common_text(' | ');
common_element('span', NULL, _('Icons'));