bug in userbyid
darcs-hash:20080711042022-84dde-a29b769e1c032cb1b8bf13a2e6c69671169c032f.gz
This commit is contained in:
parent
f6bdb42d35
commit
9b5e6de1f4
|
@ -27,7 +27,7 @@ class UserbyidAction extends Action {
|
|||
$this->client_error(_t('No id.'));
|
||||
}
|
||||
$user =& User::staticGet($id);
|
||||
if (!$id) {
|
||||
if (!$user) {
|
||||
$this->client_error(_t('No such user.'));
|
||||
}
|
||||
$url=common_local_url('showstream',
|
||||
|
|
Loading…
Reference in New Issue
Block a user