From: cyeh%bluemartini.com <> Date: Wed, 26 Apr 2000 08:43:51 +0000 (+0000) Subject: better implementation of realnames support. remove overhead of two sql X-Git-Tag: bugzilla-2.12~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14f53bd7f091ae5dd40671ad1154ed11be7a2c8e;p=thirdparty%2Fbugzilla.git better implementation of realnames support. remove overhead of two sql calls from bug_form. --- diff --git a/bug_form.pl b/bug_form.pl index 735dd2f1d0..176c380354 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -118,11 +118,8 @@ my $assignedtoid = $bug{'assigned_to'}; my $reporterid = $bug{'reporter'}; my $qacontactid = $bug{'qa_contact'}; - -$bug{'assigned_name'} = DBID_to_real_name($bug{'assigned_to'}); -$bug{'reporter_name'} = DBID_to_real_name($bug{'reporter'}); -$bug{'assigned_to'} = DBID_to_name($bug{'assigned_to'}); -$bug{'reporter'} = DBID_to_name($bug{'reporter'}); +$bug{'assigned_to'} = DBID_to_real_or_loginname($bug{'assigned_to'}); +$bug{'reporter'} = DBID_to_real_or_loginname($bug{'reporter'}); print qq{