diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-01 13:03:35 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-02 10:57:45 +0000 |
commit | bf3b3d271bd18ee25652a957d500e38f9c33237e (patch) | |
tree | 8c573ceae426babd5c21886c40d5189f054b381e /perllib/FixMyStreet/App/Controller | |
parent | 6989e6d72e7e13f27c42fd4587294191e600a1a5 (diff) |
Update problem lastupdate column on inspect save.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 73479c584..13967601b 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -377,6 +377,7 @@ sub inspect : Private { if ( $reputation_change != 0 ) { $problem->user->update_reputation($reputation_change); } + $problem->lastupdate( \'current_timestamp' ); $problem->update; if ( defined($update_text) ) { $problem->add_to_comments( { |