From: Evan Prodromou Date: Fri, 20 Jun 2008 07:26:32 +0000 (-0400) Subject: fix url for redirect X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=676bbebe1a6225d77416a0e3ea57a90b25627ced;p=quix0rs-gnu-social.git fix url for redirect darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz --- 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); } }