diff options
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index 4d5a32fbd..e3ec5dcee 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.30 2009-11-19 09:56:12 louise Exp $ +# $Id: Problems.pm,v 1.31 2009-11-19 16:41:57 louise Exp $ # package Problems; @@ -213,7 +213,8 @@ sub fetch_problem { "select id, easting, northing, 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, service + extract(epoch from ms_current_timestamp()-lastupdate) as duration, + service, cobrand, cobrand_data from problem where id=? and state in ('confirmed','fixed', 'hidden') $site_restriction", {}, $id ); |