aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.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/index.cgi
parentf10475c5f5a8f7e6a24579c4575c5bb208cc0428 (diff)
parent9e3f0cc26dbbd0e1b3d9d4aaf89fffec41557027 (diff)
Merge branch 'master' of ssh://matthew@git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 595c2f3a7..f741e5f5a 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -259,7 +259,7 @@ sub submit_update {
$h{url} = $base . '/C/' . mySociety::AuthToken::store('update', { id => $id, add_alert => $input{add_alert} } );
dbh()->commit();
- my $out = Page::send_email($q, $input{rznvy}, $input{name}, 'update', %h);
+ my $out = Page::send_confirmation_email($q, $input{rznvy}, $input{name}, 'update', %h);
return $out;
}
@@ -432,7 +432,7 @@ Please <a href="/contact">let us know what went on</a> and we\'ll look into it.'
$h{url} = $base . '/P/' . mySociety::AuthToken::store('problem', $id);
dbh()->commit();
- $out = Page::send_email($q, $input{email}, $input{name}, 'problem', %h);
+ $out = Page::send_confirmation_email($q, $input{email}, $input{name}, 'problem', %h);
}
return $out;