aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/UpdateAllReports.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-06-26 11:25:36 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-06-26 13:03:06 +0100
commit09c7f9d765e2a58c3e74eee0ed03612d19ee7f9f (patch)
tree378822f700570d4b3a0de9bd4cb1aede659c1bf2 /perllib/FixMyStreet/Script/UpdateAllReports.pm
parent62b19194a099e6e5ac1140aea0ed42744cdff786 (diff)
Turn on 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" } },
]
}
);