aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-22 17:55:18 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-22 17:55:18 +0100
commit100be5b30fb9720b6078440f929e44cc1230dcba (patch)
treed7ad6ac3ad21cf97b14a68dad0f98c060d84001e
parentfbabbc2c6fa978ee1476b5c559d6b7af0fe7760e (diff)
correct check for is fixed
-rw-r--r--perllib/FixMyStreet/Cobrand/EmptyHomes.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm
index e8a57b117..3694d984b 100644
--- a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm
+++ b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm
@@ -112,7 +112,7 @@ sub generate_problem_banner {
my ( $self, $problem ) = @_;
my $banner = {};
- if ($problem->state->is_fixed ) {
+ if ($problem->is_fixed ) {
$banner->{id} = 'fixed';
$banner->{text} = _('This problem has been fixed') . '.';
}