aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Questionnaire.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-18 13:57:16 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-18 13:57:16 +0100
commit01750786cc7f8d13f939eb75284f1d805673effe (patch)
treeed7595d2a3e4b0faebeba6620ff5ef93519df03f /perllib/FixMyStreet/App/Controller/Questionnaire.pm
parent3b5d561700b184c20e63111d4cbc1daab78e16c6 (diff)
remove hard coded references to fixed
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 a8bdca7a4..7a089eb76 100755
--- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm
+++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm
@@ -297,7 +297,7 @@ sub display : Private {
pins => [ {
latitude => $problem->latitude,
longitude => $problem->longitude,
- colour => $problem->state eq 'fixed' ? 'green' : 'red',
+ colour => $problem->is_fixed() ? 'green' : 'red',
} ],
);
}