diff options
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 9d54e2108..0b463b211 100644 --- a/lib/util.php +++ b/lib/util.php @@ -819,6 +819,7 @@ function common_fancy_url($action, $args=NULL) { case 'register': case 'subscribe': case 'unsubscribe': + case 'invite': return common_path('main/'.$action); case 'remotesubscribe': if ($args && $args['nickname']) { @@ -907,8 +908,6 @@ function common_fancy_url($action, $args=NULL) { return common_path($path . (($args) ? ('?' . http_build_query($args)) : '')); case 'tags': return common_path('tags' . (($args) ? ('?' . http_build_query($args)) : '')); - case 'invite': - return common_path('invite'); default: return common_simple_url($action, $args); } |