aboutsummaryrefslogtreecommitdiffstats
path: root/web/alert.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 17:37:05 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 17:37:05 +0000
commit197d916501696c1d8811f05f1ef23e2a11d6e1b4 (patch)
tree931ff98a8202d537393362f36660ff08f1fd432c /web/alert.cgi
parentf10475c5f5a8f7e6a24579c4575c5bb208cc0428 (diff)
parent9e3f0cc26dbbd0e1b3d9d4aaf89fffec41557027 (diff)
Merge branch 'master' of ssh://matthew@git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-xweb/alert.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index dd4676644..fd30dbf4e 100755
--- a/web/alert.cgi
+++ b/web/alert.cgi
@@ -605,6 +605,6 @@ sub alert_do_subscribe {
$h{url} = Page::base_url_with_lang($q, undef, 1) . '/A/'
. mySociety::AuthToken::store('alert', { id => $alert_id, type => 'subscribe', email => $email } );
dbh()->commit();
- return Page::send_email($q, $email, undef, 'alert', %h);
+ return Page::send_confirmation_email($q, $email, undef, 'alert', %h);
}