aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/UpdateAllReports.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-07-02 14:20:42 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-07-02 14:20:42 +0100
commit510af28e0bcda19b4f2bf181aaebc05975a7533f (patch)
treed8e6791fc62c9bb905794a9f24db0aa0b055de78 /perllib/FixMyStreet/Script/UpdateAllReports.pm
parent3dd1d1f2cb68b731d23ecea9eb580fe08a190ce8 (diff)
parent0fee017e4a3d3aac6653f2892cc0950d354f3f91 (diff)
Merge branch '1084-quote-names'
Diffstat (limited to 'perllib/FixMyStreet/Script/UpdateAllReports.pm')
-rwxr-xr-xperllib/FixMyStreet/Script/UpdateAllReports.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Script/UpdateAllReports.pm b/perllib/FixMyStreet/Script/UpdateAllReports.pm
index 33665b9da..b23ed5b6a 100755
--- a/perllib/FixMyStreet/Script/UpdateAllReports.pm
+++ b/perllib/FixMyStreet/Script/UpdateAllReports.pm
@@ -36,8 +36,8 @@ sub generate {
{
columns => [
'id', 'bodies_str', 'state', 'areas', 'cobrand', 'category',
- { duration => { extract => "epoch from current_timestamp-lastupdate" } },
- { age => { extract => "epoch from current_timestamp-$age_column" } },
+ { duration => { extract => \"epoch from current_timestamp-lastupdate" } },
+ { age => { extract => \"epoch from current_timestamp-$age_column" } },
]
}
);