aboutsummaryrefslogtreecommitdiffstats
path: root/web/alert.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/alert.cgi
parent59f29a3788859051a7615d2a7f09f168a97f37dd (diff)
Fix misleading check-your-email page.
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-xweb/alert.cgi4
1 files changed, 2 insertions, 2 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);