From: dave%intrec.com <>
Date: Tue, 27 Feb 2001 09:32:27 +0000 (+0000)
Subject: fix for bug 67482: parens in user's real name was confusing bugzilla. Patch by jake...
X-Git-Tag: bugzilla-2.12~81
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf1ffb2418b51281339afd0afd3ac17824621d5;p=thirdparty%2Fbugzilla.git
fix for bug 67482: parens in user's real name was confusing bugzilla. Patch by jake@acutex.net
---
diff --git a/bug_form.pl b/bug_form.pl
index df1f1df990..c0c7caf20c 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 #
\n";
$knum++;
- if ( $bug{'assigned_to'} =~ /(.*)\((.*)\)/ ) {
- $bug{'assigned_to'} = $1;
- chop($bug{'assigned_to'});
- }
- my $assign_element = "";
+ my $assign_element = "";
print "
Reassign bug to