diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/confirm.cgi | 4 | ||||
-rwxr-xr-x | web/index.cgi | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi index 09022ed7d..4a41721d4 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.14 2007-05-03 09:34:22 matthew Exp $ +# $Id: confirm.cgi,v 1.15 2007-05-03 09:40:05 matthew Exp $ use strict; require 5.8.0; @@ -76,7 +76,7 @@ EOF $out .= $q->p( _('You have successfully confirmed your problem') . ($council ? _(' and <strong>we will now send it to the council</strong>') : '') - . sprintf(_('You can <a href="%s">view the problem on this site</a>.'), "/?id=$id") + . sprintf(_('. You can <a href="%s">view the problem on this site</a>.'), "/?id=$id") ); my $signup = <<EOF; <input type="hidden" name="signed_email" value="$salt,$signed_email"> diff --git a/web/index.cgi b/web/index.cgi index 03690f935..db9dba1eb 100755 --- a/web/index.cgi +++ b/web/index.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: index.cgi,v 1.118 2007-05-03 09:21:31 matthew Exp $ +# $Id: index.cgi,v 1.119 2007-05-03 09:40:05 matthew Exp $ # TODO # Nothing is done about the update checkboxes - not stored anywhere on anything! @@ -551,8 +551,8 @@ sub display_problem { # Get all information from database my $problem = dbh()->selectrow_arrayref( - "select state, easting, northing, title, detail, name, extract(epoch from created), photo, anonymous, - extract(epoch from whensent-created), council + "select state, easting, northing, title, detail, name, extract(epoch from confirmed), photo, anonymous, + extract(epoch from whensent-confirmed), council from problem where id=? and state in ('confirmed','fixed', 'hidden')", {}, $input{id}); return display_location($q, 'Unknown problem ID') unless $problem; my ($state, $easting, $northing, $title, $desc, $name, $time, |