fix tag links in subs

darcs-hash:20081121154218-84dde-3c805fe52692950edd397ac184f68c09095419a7.gz
This commit is contained in:
Evan Prodromou 2008-11-21 10:42:18 -05:00
parent 75f107823e
commit 6af0534ea7

View File

@ -1051,9 +1051,9 @@ function common_fancy_url($action, $args=NULL) {
} }
$params = http_build_query($args); $params = http_build_query($args);
if ($params) { if ($params) {
return common_path($nickname.'/'.$action . (($tag) ? '/' . tag : '') . '?' . $params); return common_path($nickname.'/'.$action . (($tag) ? '/' . $tag : '') . '?' . $params);
} else { } else {
return common_path($nickname.'/'.$action . (($tag) ? '/' . tag : '')); return common_path($nickname.'/'.$action . (($tag) ? '/' . $tag : ''));
} }
case 'allrss': case 'allrss':
return common_path($args['nickname'].'/all/rss'); return common_path($args['nickname'].'/all/rss');