summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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');