diff options
author | louise <louise> | 2009-11-19 16:41:57 +0000 |
---|---|---|
committer | louise <louise> | 2009-11-19 16:41:57 +0000 |
commit | 6ec5ce524874c7b2b96483cf4a5316692e9b19f0 (patch) | |
tree | dcfb7761110e1195b3a95ee8554107a6b62a106c /perllib/Problems.pm | |
parent | bcc391ee7b2ea0c4de9b7986cc39054316325fa9 (diff) |
Allow cobrands to supply some extra meta text for a problem
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 ); |