aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 7d530ea4b..da308aaeb 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -258,7 +258,7 @@ if ($cgi->param('rescanallBugMail')) {
# and so choosing this user as being the last one having done a change
# for the bug may be problematic. So the best we can do at this point
# is to choose the currently logged in user for email notification.
- $vars->{'changer'} = Bugzilla->user;
+ $vars->{'changer'} = $user;
foreach my $bugid (@$list) {
Bugzilla::BugMail::Send($bugid, $vars);