forked from GNUsocial/gnu-social
fix url for redirect
darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz
This commit is contained in:
parent
202f80511a
commit
676bbebe1a
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user