aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r--perllib/Problems.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm
index 6c29a256e..e96c7f73b 100644
--- a/perllib/Problems.pm
+++ b/perllib/Problems.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Problems.pm,v 1.8 2008-10-17 18:55:16 matthew Exp $
+# $Id: Problems.pm,v 1.9 2008-10-24 09:52:42 matthew Exp $
#
package Problems;
@@ -167,7 +167,7 @@ sub fetch_problem {
"select id, easting, northing, council, category, title, detail, (photo is not null) as 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
+ extract(epoch from ms_current_timestamp()-lastupdate) as duration, service
from problem where id=? and state in ('confirmed','fixed', 'hidden')
$site_restriction", {}, $id
);