diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-11 00:20:22 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-11 00:20:22 -0400 |
commit | 9b5e6de1f4f897b7d83cd76480ed0f4bf2b1edf3 (patch) | |
tree | fe6257213307a14c5046b16411fe7a60e256ef3f | |
parent | f6bdb42d35a22dab09cc3cf52a0621ea685630ce (diff) |
bug in userbyid
darcs-hash:20080711042022-84dde-a29b769e1c032cb1b8bf13a2e6c69671169c032f.gz
-rw-r--r-- | actions/userbyid.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/userbyid.php b/actions/userbyid.php index 501e165ab..da61c7b6e 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -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', |