aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/Update.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-08-29 18:07:04 +0100
committerStruan Donald <struan@exo.org.uk>2012-08-29 18:07:04 +0100
commit9e7edef8733f26a81e12f9544d136b43f3f8e9cd (patch)
tree53b18d1cc632aef1e10a4a491d36237e6921ca42 /perllib/FixMyStreet/App/Controller/Report/Update.pm
parent0fad1a7b85ac83dce778b7dd22cd9d74f524ce23 (diff)
Fix other part of race condition
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/Update.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm
index 39d0ab225..da4cc33ca 100644
--- a/perllib/FixMyStreet/App/Controller/Report/Update.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm
@@ -77,7 +77,7 @@ sub update_problem : Private {
}
if ( $c->cobrand->can_support_problems && $c->user && $c->user->from_council && $c->req->param('external_source_id') ) {
- $problem->interest_count( $problem->interest_count + 1 );
+ $problem->interest_count( \'interest_count + 1' );
}
$problem->lastupdate( \'ms_current_timestamp()' );