aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
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-reports
parent8680a32e416fc2914e729fd5fa51a5972c81197f (diff)
More email templating.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 91e7a262f..8f7352940 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -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-reports,v 1.66 2009-05-27 13:53:52 matthew Exp $
+# $Id: send-reports,v 1.67 2009-05-27 15:27:18 matthew Exp $
use strict;
require 5.8.0;
@@ -197,7 +197,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n";
if ($send_email) {
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => \@to,
From => [ $row->{email}, $row->{name} ],