diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-25 15:34:50 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-25 15:34:50 -0400 |
commit | a442d4d04a5aa97055386474e374de19f8239b64 (patch) | |
tree | f20768982eb9b6f0571ba2fb775da83331128916 /lib/util.php | |
parent | 245b9584bf04f085b9487fb96ea5234f621078ca (diff) |
fix the invite url
darcs-hash:20080825193450-84dde-a9a2e16b65c21a22adcb5574c4040d401513e961.gz
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); } |