aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2007-02-02 23:24:01 +0000
committermatthew <matthew>2007-02-02 23:24:01 +0000
commit25a090ca8163e677d02f2f5448ca04401e80f9df (patch)
treebc45f9eb79aad4f38a313dcc22b0357a49f42610 /web/index.cgi
parent59f29a3788859051a7615d2a7f09f168a97f37dd (diff)
Fix misleading check-your-email page.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi6
1 files changed, 3 insertions, 3 deletions
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;
}