aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Questionnaire.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-19 17:11:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-19 17:11:45 +0100
commit50984fe0e0b75436ed2ce673631c018e83ed9945 (patch)
treeb399a6670b985190e3f7d53d3e120ad6241261cd /perllib/FixMyStreet/App/Controller/Questionnaire.pm
parent8146bad18eeaab658871dd28eb38199a5d068395 (diff)
Couple of typos in bits of code.
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 90674b294..8de935dd7 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()' );
}