From a442d4d04a5aa97055386474e374de19f8239b64 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 25 Aug 2008 15:34:50 -0400 Subject: [PATCH] fix the invite url darcs-hash:20080825193450-84dde-a9a2e16b65c21a22adcb5574c4040d401513e961.gz --- lib/util.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/util.php b/lib/util.php index 9d54e21086..0b463b211c 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); } -- 2.39.5