summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-21 10:42:18 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-21 10:42:18 -0500
commit6af0534ea7fd8247478444fc33ba83ce4b1ea161 (patch)
tree881d36f4f3d5f84067baa5c77fc4ae88199e71d1 /lib/util.php
parent75f107823e4227225791e1807a3b7b56092beaa9 (diff)
fix tag links in subs
darcs-hash:20081121154218-84dde-3c805fe52692950edd397ac184f68c09095419a7.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index b8e482eef..18e65be8b 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1051,9 +1051,9 @@ function common_fancy_url($action, $args=NULL) {
}
$params = http_build_query($args);
if ($params) {
- return common_path($nickname.'/'.$action . (($tag) ? '/' . tag : '') . '?' . $params);
+ return common_path($nickname.'/'.$action . (($tag) ? '/' . $tag : '') . '?' . $params);
} else {
- return common_path($nickname.'/'.$action . (($tag) ? '/' . tag : ''));
+ return common_path($nickname.'/'.$action . (($tag) ? '/' . $tag : ''));
}
case 'allrss':
return common_path($args['nickname'].'/all/rss');