summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 40f2d4cd4..f2038808b 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -769,7 +769,7 @@ function common_fancy_url($action, $args=NULL) {
case 'userrss':
return common_path($args['nickname'].'/rss');
case 'showstream':
- if ($args && $args['page']) {
+ if ($args && isset($args['page'])) {
return common_path($args['nickname'].'?page=' . $args['page']);
} else {
return common_path($args['nickname']);