aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Barnet.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-09 10:37:41 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-09 10:37:41 +0100
commit2f905f6b8f74a5a892b3974e4f0b4076f9b58ddf (patch)
tree4a491cd4fee20315b08eb1be87f6f51f5b19fa8e /perllib/FixMyStreet/Cobrand/Barnet.pm
parent2e8c9f4ab19f8db068318239f15f2458dd64aa00 (diff)
Migrate recent_photos to new ResultSet, nice joining with problem_find_nearby procedure.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Barnet.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Barnet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Barnet.pm b/perllib/FixMyStreet/Cobrand/Barnet.pm
index 460bd3be9..e7bc67c5c 100644
--- a/perllib/FixMyStreet/Cobrand/Barnet.pm
+++ b/perllib/FixMyStreet/Cobrand/Barnet.pm
@@ -82,7 +82,7 @@ sub disambiguate_location {
sub recent_photos {
my ( $self, $num, $lat, $lon, $dist ) = @_;
$num = 2 if $num == 3;
- return Problems::recent_photos( $num, $lat, $lon, $dist );
+ return $self->problems->recent_photos( $num, $lat, $lon, $dist );
}
sub tilma_mid_point {