aboutsummaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-20 00:30:23 +0000
committerlpsolit%gmail.com <>2006-06-20 00:30:23 +0000
commita97d48ec24e5e7d931bd8a0dc39c597ce758d106 (patch)
tree286ae60acc70da143f2c662a4949dd144120263d /editproducts.cgi
parent5510427a679157e889aa1bb170e2b9254aed6c49 (diff)
downloadbugs-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar
bugs-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar.gz
bugs-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar.bz2
bugs-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.tar.xz
bugs-a97d48ec24e5e7d931bd8a0dc39c597ce758d106.zip
Bug 338793: Remove DBID_to_name() from globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=vladd a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi5
1 files changed, 3 insertions, 2 deletions
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});