aboutsummaryrefslogtreecommitdiffstats
path: root/web/confirm.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/confirm.cgi')
-rwxr-xr-xweb/confirm.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi
index 29f0b7c98..6867169ac 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.1 2006-09-25 22:59:07 matthew Exp $
+# $Id: confirm.cgi,v 1.2 2006-09-26 16:11:51 matthew Exp $
use strict;
require 5.8.0;
@@ -43,15 +43,15 @@ sub main {
if ($type eq 'comment') {
dbh()->do("update comment set state='confirmed' where id=?", {}, $id);
my $id = dbh()->selectrow_array("select problem_id from comment where id=?", {}, $id);
- $out = <<EOF;
+ $out = <<EOF;
<p>You have successfully confirmed your comment and you can now <a href="/?id=$id">view it on the site</a>.</p>
EOF
- } elsif ($type eq 'problem') {
+ } elsif ($type eq 'problem') {
dbh()->do("update problem set state='confirmed' where id=?", {}, $id);
- $out = <<EOF;
+ $out = <<EOF;
<p>You have successfully confirmed your problem and you can now <a href="/?id=$id">view it on the site</a>.</p>
EOF
- }
+ }
dbh()->commit();
} else {
$out = <<EOF;