summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-11-10 07:52:07 +0100
committerByron Jones <glob@mozilla.com>2014-11-10 07:52:07 +0100
commit41dbccc20f013f0b06959ad587f5fb6ac4813686 (patch)
tree44c11b4464b655a25b1458cc310a36e7cda22b7c
parentb13d809d15bf0de6ec2f56b976bab3cca3e0f8e6 (diff)
downloadbugzilla-41dbccc20f013f0b06959ad587f5fb6ac4813686.tar.gz
bugzilla-41dbccc20f013f0b06959ad587f5fb6ac4813686.tar.xz
Bug 1093481: non-bugmail notifications are not sent when using the jobqueue ("Can't call method "header" on unblessed reference at Bugzilla/Mailer.pm line 95.")
r=dylan,a=glob
-rw-r--r--Bugzilla/Job/Mailer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm
index 7e7549de8..0f0e9c71f 100644
--- a/Bugzilla/Job/Mailer.pm
+++ b/Bugzilla/Job/Mailer.pm
@@ -50,7 +50,7 @@ sub work {
sub process_job {
my ($class, $arg) = @_;
- MessageToMTA($arg, 1);
+ MessageToMTA($arg->{msg}, 1);
}
1;