diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-23 11:37:58 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-23 11:37:58 +0100 |
commit | e58b6ceae179dcf576ba394209417c9e12fadb54 (patch) | |
tree | dee2c885e03e7d29675de70e86bc18cbe3b5bbc2 | |
parent | 416be1e4fda484fad30ff63604b76372d724b69f (diff) |
Fix bug causing updates to always mark reports as fixed
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 2 |
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 91f05c32f..6ad6ffaa5 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -49,7 +49,7 @@ sub update_problem : Private { my $update = $c->stash->{update}; my $problem = $c->stash->{problem} || $update->problem; - if ( $update->mark_fixed ) { + if ( $update->mark_fixed eq 't' ) { $problem->state( 'fixed' ); if ( $update->user->id == $problem->user->id ) { |