diff options
Diffstat (limited to 'actions/avatarbynickname.php')
-rw-r--r-- | actions/avatarbynickname.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/avatarbynickname.php b/actions/avatarbynickname.php index 4b8c84b45..c4cad9c04 100644 --- a/actions/avatarbynickname.php +++ b/actions/avatarbynickname.php @@ -39,7 +39,7 @@ class AvatarbynicknameAction extends Action { } $user = User::staticGet('nickname', $nickname); - if ($user) { + if (!$user) { $this->client_error(_t('No such user.')); return; } |