summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/lib
diff options
context:
space:
mode:
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 }
]
};