aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-questionnaires
diff options
context:
space:
mode:
authorlouise <louise>2009-10-21 14:59:00 +0000
committerlouise <louise>2009-10-21 14:59:00 +0000
commit108ad9846d071575880356563e13bbd96654d3af (patch)
treef3fd441bf824f538099efb8fc183f6390672c147 /bin/send-questionnaires
parentd94967030a2ac1355d9d8ace860b5381947cf366 (diff)
Passing extra data to base_url_for_email function
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 03511f8dd..d6072981e 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.17 2009-09-16 17:00:35 louise Exp $
+# $Id: send-questionnaires,v 1.18 2009-10-21 14:59:00 louise Exp $
use strict;
require 5.8.0;
@@ -78,7 +78,7 @@ foreach my $row (@$unsent) {
dbh()->do("update problem set send_questionnaire = 'f' where id=?", {}, $row->{id});
my $token = mySociety::AuthToken::store('questionnaire', $id);
- $h{url} = Cobrand::base_url_for_emails($cobrand) . '/Q/' . $token;
+ $h{url} = Cobrand::base_url_for_emails($cobrand, $row->{cobrand_data}) . '/Q/' . $token;
my $sender = Cobrand::contact_email($cobrand);
$sender =~ s/team/fms-DO-NOT-REPLY/;