fix the invite url
darcs-hash:20080825193450-84dde-a9a2e16b65c21a22adcb5574c4040d401513e961.gz
This commit is contained in:
parent
245b9584bf
commit
a442d4d04a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user