diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/alert.cgi | 4 | ||||
-rwxr-xr-x | web/index.cgi | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/web/alert.cgi b/web/alert.cgi index 724e1731f..f706eb065 100755 --- a/web/alert.cgi +++ b/web/alert.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: alert.cgi,v 1.2 2007-01-26 22:48:31 matthew Exp $ +# $Id: alert.cgi,v 1.3 2007-02-02 23:24:01 matthew Exp $ use strict; require 5.8.0; @@ -89,7 +89,7 @@ EOF $h{url} = mySociety::Config::get('BASE_URL') . '/A/' . mySociety::AuthToken::store('alert', { id => $alert_id, type => 'subscribe' } ); dbh()->commit(); - $out = Page::send_email($email, undef, 'alert-confirm', %h); + $out = Page::send_email($email, undef, 'alert', %h); } } elsif ($q->param('id')) { $out = display_form($q); diff --git a/web/index.cgi b/web/index.cgi index 4cc801cb1..c0eeacd80 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.66 2007-02-02 22:01:45 matthew Exp $ +# $Id: index.cgi,v 1.67 2007-02-02 23:24:01 matthew Exp $ # TODO # Nothing is done about the update checkboxes - not stored anywhere on anything! @@ -142,7 +142,7 @@ sub submit_update { $h{url} = mySociety::Config::get('BASE_URL') . '/C/' . mySociety::AuthToken::store('update', $id); dbh()->commit(); - my $out = Page::send_email($input{email}, $input{name}, 'update-confirm', %h); + my $out = Page::send_email($input{email}, $input{name}, 'update', %h); return $out; } @@ -236,7 +236,7 @@ sub submit_problem { $h{url} = mySociety::Config::get('BASE_URL') . '/P/' . mySociety::AuthToken::store('problem', $id); dbh()->commit(); - my $out = Page::send_email($input{email}, $input{name}, 'problem-confirm', %h); + my $out = Page::send_email($input{email}, $input{name}, 'problem', %h); return $out; } |