aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Questionnaire.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-07-27 16:07:03 +0100
committerStruan Donald <struan@exo.org.uk>2011-07-27 16:07:03 +0100
commitd6044e4fdada7b6cf24a5ea640839cf708c8d782 (patch)
tree9842c3a15d2e2a14f2fb5c53403786e9dbfd4cd5 /perllib/FixMyStreet/App/Controller/Questionnaire.pm
parentb90fa0bb3a994753276837f996e4a9c5855583cc (diff)
parent50984fe0e0b75436ed2ce673631c018e83ed9945 (diff)
Merge branch 'new_statuses' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Questionnaire.pm')
-rwxr-xr-xperllib/FixMyStreet/App/Controller/Questionnaire.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Questionnaire.pm b/perllib/FixMyStreet/App/Controller/Questionnaire.pm
index c498ec61e..d9bdb7108 100755
--- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm
+++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm
@@ -168,7 +168,7 @@ sub submit_standard : Private {
# If it's not fixed and they say it's still not been fixed, record time update
if ( $c->stash->{been_fixed} eq 'No' &&
- FixMyStreet::DB::Result::Problem->open_states($old_state) ) {
+ FixMyStreet::DB::Result::Problem->open_states->{$old_state} ) {
$problem->lastupdate( \'ms_current_timestamp()' );
}