summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2004-09-11 16:09:46 +0200
committerjustdave%bugzilla.org <>2004-09-11 16:09:46 +0200
commita852a93e0180786e433ce6657ef8b8756c1b8386 (patch)
treeaefb9cbe8fe2b60c6f2a5bc875e91227189af5a6 /Bugzilla
parent8d91efaa1fe8eb3828e123b7ff3356c5107f3ebd (diff)
downloadbugzilla-a852a93e0180786e433ce6657ef8b8756c1b8386.tar.gz
bugzilla-a852a93e0180786e433ce6657ef8b8756c1b8386.tar.xz
Bug 255913: mailto link on show_bug.cgi wasn't honoring emailsuffix. Bugzilla->user->email now includes emailsuffix in the result.
Patch by Marc Schumann <wurblzap@gmail.com> r=justdave,tobias, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 21585b3a4..5c9b80c07 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -136,7 +136,7 @@ sub _create {
# Accessors for user attributes
sub id { $_[0]->{id}; }
sub login { $_[0]->{login}; }
-sub email { $_[0]->{login}; }
+sub email { $_[0]->{login} . Param('emailsuffix'); }
sub name { $_[0]->{name}; }
sub showmybugslink { $_[0]->{showmybugslink}; }
@@ -153,8 +153,8 @@ sub get_flag {
return $self->{'flags'}->{$key};
}
-# Generate a string to identify the user by name + email if the user
-# has a name or by email only if she doesn't.
+# Generate a string to identify the user by name + login if the user
+# has a name or by login only if she doesn't.
sub identity {
my $self = shift;