summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 5fec73552..73bd6ee16 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1144,6 +1144,8 @@ function common_fancy_url($action, $args=NULL) {
case 'repliesrss':
return common_path($args['nickname'].'/replies/rss');
case 'userrss':
+ if (isset($args['limit']))
+ return common_path($args['nickname'].'/rss?limit=' . $args['limit']);
return common_path($args['nickname'].'/rss');
case 'showstream':
if ($args && isset($args['page'])) {