diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 18:03:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 18:03:35 -0400 |
commit | bb3c796c25f989b529af0e985faa857689e0b25f (patch) | |
tree | d8fb5160d7a858197f0dcfca43cd1a09356f013b /lib/util.php | |
parent | 589a6c05f7dda6e365298fb0854700a94853bb1a (diff) |
url for confirmation email is better, fancy url
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 88a71273d..e2c9c67a1 100644 --- a/lib/util.php +++ b/lib/util.php @@ -684,6 +684,10 @@ function common_fancy_url($action, $args=NULL) { return common_path('main/confirmaddress/'.$args['code']); case 'userbyid': return common_path('user/'.$args['id']); + case 'recoverpassword': + return common_path('main/recoverpassword' . + ($args['code']) ? ('/' . $args['code']) : + ''); default: return common_simple_url($action, $args); } |