aboutsummaryrefslogtreecommitdiffstats
path: root/web-admin
diff options
context:
space:
mode:
authormatthew <matthew>2010-01-15 11:23:55 +0000
committermatthew <matthew>2010-01-15 11:23:55 +0000
commit3c19c24c52acc46d134d608bac8e5f9060f8c5f4 (patch)
tree585976b78664a380aa5ca95507d90b15a2919168 /web-admin
parenta84330ab68f2cac247996e275954228b457f4a00 (diff)
Use correct variable.
Diffstat (limited to 'web-admin')
-rwxr-xr-xweb-admin/index.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi
index 0a355dfd3..3469958f1 100755
--- a/web-admin/index.cgi
+++ b/web-admin/index.cgi
@@ -7,10 +7,10 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: index.cgi,v 1.86 2010-01-07 15:46:34 matthew Exp $
+# $Id: index.cgi,v 1.87 2010-01-15 11:23:55 matthew Exp $
#
-my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.86 2010-01-07 15:46:34 matthew Exp $';
+my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.87 2010-01-15 11:23:55 matthew Exp $';
use strict;
@@ -572,8 +572,8 @@ sub admin_edit_report {
my $northing = int($row{northing}+0.5);
my $questionnaire = $row{send_questionnaire} ? 'Yes' : 'No';
my $used_map = $row{used_map} ? 'used map' : "didn't use map";
- (my $whensent = $_->{whensent} || '&nbsp;') =~ s/\..*//;
- (my $confirmed = $_->{confirmed} || '-') =~ s/ (.*?)\..*/&nbsp;$1/;
+ (my $whensent = $row{whensent} || '&nbsp;') =~ s/\..*//;
+ (my $confirmed = $row{confirmed} || '-') =~ s/ (.*?)\..*/&nbsp;$1/;
my $photo = '';
my $cobrand_data;
if ($row{cobrand}) {