diff --git a/lib/util.php b/lib/util.php index b8e482eef8..18e65be8b6 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');