diff options
author | mkanat%bugzilla.org <> | 2006-08-11 08:44:49 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-11 08:44:49 +0200 |
commit | fb079a1bcf1a9eb442dbd746d787d573a89fdc4a (patch) | |
tree | 644d05740726c4e746f0f77b3cb8b66e49100f39 /editusers.cgi | |
parent | d89140b00e196de6d4d6f2c8e3b163784b5c15ff (diff) | |
download | bugzilla-fb079a1bcf1a9eb442dbd746d787d573a89fdc4a.tar.gz bugzilla-fb079a1bcf1a9eb442dbd746d787d573a89fdc4a.tar.xz |
Bug 347291: Make Bugzilla::User use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
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); |