summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 941ec6ed4..69069ba82 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -909,11 +909,11 @@ if (!$user->in_group('editbugs')) {
}
my @bugowners = keys %$bugowners;
-if (scalar(@bugowners) > 1 && $user->in_group('editbugs')) {
- my $suffix = Bugzilla->params->{'emailsuffix'};
- map(s/$/$suffix/, @bugowners) if $suffix;
- my $bugowners = join(",", @bugowners);
- $vars->{'bugowners'} = $bugowners;
+if (scalar(@bugowners) > 1
+ && $user->in_group('editbugs')
+ && Bugzilla->params->{'use_email_as_login'})
+{
+ $vars->{'bugowners'} = join(",", @bugowners);
}
# Whether or not to split the column titles across two rows to make