fix url for redirect

darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz
This commit is contained in:
Evan Prodromou 2008-06-20 03:26:32 -04:00
parent 202f80511a
commit 676bbebe1a

View File

@ -30,7 +30,8 @@ class UserbyidAction extends Action {
if (!$id) { if (!$id) {
$this->client_error(_t('No such user.')); $this->client_error(_t('No such user.'));
} }
common_redirect('showstream', $url=common_local_url('showstream',
array('nickname' => $user->nickname)); array('nickname' => $user->nickname));
common_redirect($url, 303);
} }
} }