diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-04-05 12:21:55 +0100 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-04-05 12:21:55 +0100 |
commit | 2a91f65e2b6f01e0fb477644cf1c3e18865a5025 (patch) | |
tree | 2782703e619948730889d4a7bb31113fcb190dbf | |
parent | 27e7223d4e388f473af75c1145e7348d5a1b7536 (diff) |
Fix incorrect mailer_args
-rw-r--r-- | notes/catalyst-master-merge-todos.txt | 1 | ||||
-rw-r--r-- | perllib/FixMyStreet/App/Model/EmailSend.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/notes/catalyst-master-merge-todos.txt b/notes/catalyst-master-merge-todos.txt index cdc9a3efc..51194fed3 100644 --- a/notes/catalyst-master-merge-todos.txt +++ b/notes/catalyst-master-merge-todos.txt @@ -8,3 +8,4 @@ merge in from master southhampton templates +Add newsletter signup to bottom of problem confirm page diff --git a/perllib/FixMyStreet/App/Model/EmailSend.pm b/perllib/FixMyStreet/App/Model/EmailSend.pm index de85857f7..73086c65f 100644 --- a/perllib/FixMyStreet/App/Model/EmailSend.pm +++ b/perllib/FixMyStreet/App/Model/EmailSend.pm @@ -36,7 +36,7 @@ elsif ( my $smtp_host = FixMyStreet->config('SMTP_SMARTHOST') ) { # Email::Send::SMTP $args = { mailer => 'SMTP', - mailer_args => { Host => $smtp_host }, + mailer_args => [ Host => $smtp_host ], }; } else { |