aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@ecclestoad.co.uk>2011-02-08 15:39:39 -0300
committerEdmund von der Burg <evdb@ecclestoad.co.uk>2011-02-08 15:39:39 -0300
commit0734487b37270511bb55c4a45a75aed1a0ff569a (patch)
tree1840c639a19de25ef478a1ed823be9b48a0ab04b /perllib/Problems.pm
parent5626921c90cd6069342ab95e3def9e013be836b0 (diff)
Fix so you can view a report
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r--perllib/Problems.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm
index 8a142a0a3..8c6eeccad 100644
--- a/perllib/Problems.pm
+++ b/perllib/Problems.pm
@@ -218,7 +218,7 @@ sub fixed_nearby {
sub fetch_problem {
my $id = shift;
my $p = dbh()->selectrow_hashref(
- "select id, easting, northing, council, category, title, detail, photo,
+ "select id, latitude, longitude, council, category, title, detail, photo,
used_map, name, anonymous, extract(epoch from confirmed) as time,
state, extract(epoch from whensent-confirmed) as whensent,
extract(epoch from ms_current_timestamp()-lastupdate) as duration,