diff options
author | Dave Arter <davea@mysociety.org> | 2016-07-08 15:38:10 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-07-08 15:38:10 +0100 |
commit | 0c5549a60ef3d86d672926d6e71c00cafff8326b (patch) | |
tree | 94158b497072156c273f442ce19888665a205a2c /perllib/FixMyStreet/Map.pm | |
parent | 680893b2489830b0c06a6ffdbf8c9f15ddb22487 (diff) | |
parent | 8a8b34b66dbdb9d2ce9c5b2d00318d75ef93d267 (diff) |
Merge branch 'issues/commercial/500-cobrand-reporting-issues-redux'
Diffstat (limited to 'perllib/FixMyStreet/Map.pm')
-rw-r--r-- | perllib/FixMyStreet/Map.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Map.pm b/perllib/FixMyStreet/Map.pm index 6d641331f..b8b128611 100644 --- a/perllib/FixMyStreet/Map.pm +++ b/perllib/FixMyStreet/Map.pm @@ -100,9 +100,9 @@ sub _map_features { my $around_limit = $c->cobrand->on_map_list_limit || undef; my @around_args = ( $min_lat, $max_lat, $min_lon, $max_lon, $interval ); - my $around_map = $c->cobrand->problems->around_map( @around_args, undef, $category, $states ); + my $around_map = $c->cobrand->problems_on_map->around_map( @around_args, undef, $category, $states ); my $around_map_list = $around_limit - ? $c->cobrand->problems->around_map( @around_args, $around_limit, $category, $states ) + ? $c->cobrand->problems_on_map->around_map( @around_args, $around_limit, $category, $states ) : $around_map; my $dist = FixMyStreet::Gaze::get_radius_containing_population( $lat, $lon ); |