From 676bbebe1a6225d77416a0e3ea57a90b25627ced Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 20 Jun 2008 03:26:32 -0400 Subject: [PATCH] fix url for redirect darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz --- actions/userbyid.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/actions/userbyid.php b/actions/userbyid.php index 9de32406a5..501e165ab0 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); } } -- 2.39.5