summaryrefslogtreecommitdiff
path: root/actions/userbyid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-20 03:26:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-20 03:26:32 -0400
commit676bbebe1a6225d77416a0e3ea57a90b25627ced (patch)
tree996ac77c316f4e68443c2e8ed2845aeaa96dfad3 /actions/userbyid.php
parent202f80511a02b655df51abacece1c353f8499251 (diff)
fix url for redirect
darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz
Diffstat (limited to 'actions/userbyid.php')
-rw-r--r--actions/userbyid.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/userbyid.php b/actions/userbyid.php
index 9de32406a..501e165ab 100644
--- a/actions/userbyid.php
+++ b/actions/userbyid.php
@@ -30,7 +30,8 @@ class UserbyidAction extends Action {
if (!$id) {
$this->client_error(_t('No such user.'));
}
- common_redirect('showstream',
- array('nickname' => $user->nickname));
+ $url=common_local_url('showstream',
+ array('nickname' => $user->nickname));
+ common_redirect($url, 303);
}
}