summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authordave%intrec.com <>2001-02-27 10:32:27 +0100
committerdave%intrec.com <>2001-02-27 10:32:27 +0100
commiteaf1ffb2418b51281339afd0afd3ac17824621d5 (patch)
treef2bdf615c6959dba44d2422fe544ea6bac5283ad /bug_form.pl
parent0a6d0a29f9d21fd22b6f360fbb551dfe5374e66a (diff)
downloadbugzilla-eaf1ffb2418b51281339afd0afd3ac17824621d5.tar.gz
bugzilla-eaf1ffb2418b51281339afd0afd3ac17824621d5.tar.xz
fix for bug 67482: parens in user's real name was confusing bugzilla. Patch by jake@acutex.net
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/bug_form.pl b/bug_form.pl
index df1f1df99..c0c7caf20 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -119,6 +119,7 @@ my $assignedtoid = $bug{'assigned_to'};
my $reporterid = $bug{'reporter'};
my $qacontactid = $bug{'qa_contact'};
+$bug{'assigned_to_email'} = DBID_to_name($assignedtoid);
$bug{'assigned_to'} = DBID_to_real_or_loginname($bug{'assigned_to'});
$bug{'reporter'} = DBID_to_real_or_loginname($bug{'reporter'});
@@ -444,11 +445,7 @@ if ($canedit || $::userid == $assignedtoid ||
Resolve bug, mark it as duplicate of bug #
<INPUT NAME=dup_id SIZE=6 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\"><br>\n";
$knum++;
- if ( $bug{'assigned_to'} =~ /(.*)\((.*)\)/ ) {
- $bug{'assigned_to'} = $1;
- chop($bug{'assigned_to'});
- }
- my $assign_element = "<INPUT NAME=\"assigned_to\" SIZE=32 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\" VALUE=\"$bug{'assigned_to'}\">";
+ my $assign_element = "<INPUT NAME=\"assigned_to\" SIZE=32 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\" VALUE=\"$bug{'assigned_to_email'}\">";
print "<INPUT TYPE=radio NAME=knob VALUE=reassign>
<A HREF=\"bug_status.html#assigned_to\">Reassign</A> bug to