better link

darcs-hash:20081127162551-5ed1f-7ccfe9c5d84149c5d5aa507e70d555003c200b39.gz
This commit is contained in:
Evan Prodromou 2008-11-27 11:25:51 -05:00
parent fb312a9de9
commit 1a0dc49098
1 changed files with 2 additions and 1 deletions

View File

@ -255,10 +255,11 @@ class GalleryAction extends Action {
common_element('a', array('href' => $url),
_('Icons'));
common_element_end('li');
break;
break;
default:
common_element_start('li', array('class'=>'child_1'));
$url_args = array('nickname' => $profile->nickname,
'display' => 'list',
'page' => 1 + floor((($page - 1) * AVATARS_PER_PAGE) / PROFILES_PER_PAGE));
if ($tag) {
$url_args['tag'] = $tag;