diff options
author | matthew <matthew> | 2009-08-14 11:02:50 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-08-14 11:02:50 +0000 |
commit | bfa3fb4f68e00d76494dfe6f417d45d40d5b1de5 (patch) | |
tree | 428f4d9ef0e5a335ce82780a2c7b7d345c7bc296 /web/alert.cgi | |
parent | fe74cdd9f87b1fe779254da484ca0e1f9d713b90 (diff) |
Only do lang on reportemptyhomes!
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-x | web/alert.cgi | 4 |
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); |