diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/userbyid.php | 5 |
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); } } |