aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-questionnaires
diff options
context:
space:
mode:
authormatthew <matthew>2009-05-27 15:27:18 +0000
committermatthew <matthew>2009-05-27 15:27:18 +0000
commitd9294fbfbe7dec3f9866e5da28f795d2616fda7a (patch)
tree95daa1e919812bf3d60011a86513a94f18f7a2d1 /bin/send-questionnaires
parent8680a32e416fc2914e729fd5fa51a5972c81197f (diff)
More email templating.
Diffstat (limited to 'bin/send-questionnaires')
-rwxr-xr-xbin/send-questionnaires4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires
index 0e3d3c01f..c18575fc5 100755
--- a/bin/send-questionnaires
+++ b/bin/send-questionnaires
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-questionnaires,v 1.9 2008-11-18 17:29:50 matthew Exp $
+# $Id: send-questionnaires,v 1.10 2009-05-27 15:27:18 matthew Exp $
use strict;
require 5.8.0;
@@ -80,7 +80,7 @@ foreach my $row (@$unsent) {
my $sender = mySociety::Config::get('CONTACT_EMAIL');
$sender =~ s/team/fms-DO-NOT-REPLY/;
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => [ [ $row->{email}, $row->{name} ] ],
From => [ $sender, mySociety::Config::get('CONTACT_NAME') ],