aboutsummaryrefslogtreecommitdiffstats
path: root/web/alert.cgi
diff options
context:
space:
mode:
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 cb77a8e4c..5284e39a5 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.41 2009-08-12 11:55:13 matthew Exp $
+# $Id: alert.cgi,v 1.42 2009-08-14 11:02:50 matthew Exp $
use strict;
use Standard;
@@ -405,7 +405,7 @@ sub alert_do_subscribe {
}
my %h = ();
- $h{url} = Page::base_url_with_lang() . '/A/'
+ $h{url} = Page::base_url_with_lang($q) . '/A/'
. mySociety::AuthToken::store('alert', { id => $alert_id, type => 'subscribe', email => $email } );
dbh()->commit();
return Page::send_email($q, $email, undef, 'alert', %h);