summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/lib
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-10-12 06:53:40 +0200
committerByron Jones <glob@mozilla.com>2015-10-12 06:53:40 +0200
commitc2364b357634e07c1b709c5cb120181ae3bc5e65 (patch)
treec47823a345d76a4112522905c8ce03bfa804f1e2 /extensions/BugModal/lib
parent0c703a9d3b3ede6728b0fff7a979f48ce22adbb9 (diff)
downloadbugzilla-c2364b357634e07c1b709c5cb120181ae3bc5e65.tar.gz
bugzilla-c2364b357634e07c1b709c5cb120181ae3bc5e65.tar.xz
Bug 1150358 - cannot remove other people from the cc list
Diffstat (limited to 'extensions/BugModal/lib')
-rw-r--r--extensions/BugModal/lib/WebService.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BugModal/lib/WebService.pm b/extensions/BugModal/lib/WebService.pm
index 2461cf2fa..e85225f60 100644
--- a/extensions/BugModal/lib/WebService.pm
+++ b/extensions/BugModal/lib/WebService.pm
@@ -127,8 +127,9 @@ sub cc {
my $template = Bugzilla->template;
my $bug = Bugzilla::Bug->check({ id => $params->{id} });
my $vars = {
+ bug => $bug,
cc_list => [
- sort { lc($a->moz_nick) cmp lc($b->moz_nick) }
+ sort { lc($a->identity) cmp lc($b->identity) }
@{ $bug->cc_users }
]
};