From a97d48ec24e5e7d931bd8a0dc39c597ce758d106 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 20 Jun 2006 00:30:23 +0000 Subject: =?UTF-8?q?Bug=20338793:=20Remove=20DBID=5Fto=5Fname()=20from=20gl?= =?UTF-8?q?obals.pl=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dvladd=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editproducts.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'editproducts.cgi') diff --git a/editproducts.cgi b/editproducts.cgi index ea7430755..b21ceb8fd 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -44,6 +44,7 @@ use Bugzilla::Product; use Bugzilla::Classification; use Bugzilla::Milestone; use Bugzilla::Group; +use Bugzilla::User; # Shut up misguided -w warnings about "used only once". "use vars" just # doesn't work for me. @@ -907,7 +908,7 @@ if ($action eq 'update') { foreach my $msg (@$msgs) { MessageToMTA($msg); } - my $name = DBID_to_name($who); + my $name = user_id_to_login($who); push(@toomanyvotes_list, {id => $id, name => $name}); @@ -960,7 +961,7 @@ if ($action eq 'update') { foreach my $msg (@$msgs) { MessageToMTA($msg); } - my $name = DBID_to_name($who); + my $name = user_id_to_login($who); push(@toomanytotalvotes_list, {id => $bug_id, name => $name}); -- cgit v1.2.1