aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fixmystreet.com/one-off-status-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fixmystreet.com/one-off-status-update b/bin/fixmystreet.com/one-off-status-update
index 5a3af226a..78a27b67f 100755
--- a/bin/fixmystreet.com/one-off-status-update
+++ b/bin/fixmystreet.com/one-off-status-update
@@ -133,7 +133,7 @@ if ($northants) {
$updated++;
$p->update({
state => $new_state,
- last_update => \'current_timestamp',
+ lastupdate => \'current_timestamp',
});
my $comment = FixMyStreet::DB->resultset('Comment')->new({
@@ -164,7 +164,7 @@ sub get_state {
my $report = shift;
if ( !$report->{Reason_for_Closure} && !$report->{DEFECT_STATUS} && $report->{Enquiry_TASK_STATUS} eq 'Completed') {
- return "in progress";
+ return "closed";
}
my $fms_state = $alloy_to_fms_map{$report->{Reason_for_Closure}};