aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/confirm.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi
index 6ee299170..b07aafdbd 100755
--- a/web/confirm.cgi
+++ b/web/confirm.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: confirm.cgi,v 1.64 2009-12-15 18:04:31 louise Exp $
+# $Id: confirm.cgi,v 1.65 2009-12-15 18:16:46 louise Exp $
use strict;
use Standard;
@@ -18,7 +18,7 @@ use mySociety::Random qw(random_bytes);
sub main {
my $q = shift;
-
+ my $cobrand = Page::get_cobrand($q);
my $out = '';
my $extra;
my $token = $q->param('token');
@@ -37,7 +37,7 @@ sub main {
dbh()->commit();
} else {
my $contact_url = Cobrand::url($cobrand, '/contact', $q);
- $out = $q->p(sprintf(_(<<EOF), $contact_url);
+ $out = $q->p(sprintf(_(<<EOF), $contact_url));
Thank you for trying to confirm your update or problem. We seem to have an
error ourselves though, so <a href="%s">please let us know what went on</a>
and we'll look into it.