From: Byron Jones Date: Mon, 10 Nov 2014 06:52:07 +0000 (+0800) Subject: Bug 1093481: non-bugmail notifications are not sent when using the jobqueue ("Can... X-Git-Tag: release-5.1.1~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41dbccc20f013f0b06959ad587f5fb6ac4813686;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm index 7e7549de80..0f0e9c71fa 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;