diff options
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index e53341c61..caea2186b 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -797,7 +797,7 @@ sub check_user { $vars->{'user_id'} = $otherUserID; } elsif ($otherUserLogin) { - $otherUser = Bugzilla::User->new_from_login($otherUserLogin); + $otherUser = new Bugzilla::User({ name => $otherUserLogin }); $vars->{'user_login'} = $otherUserLogin; } ($otherUser && $otherUser->id) || ThrowCodeError('invalid_user', $vars); |