aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/LichfieldDC.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/LichfieldDC.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/Cobrand/LichfieldDC.pm b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
index fb00aec48..5c8a04681 100644
--- a/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
+++ b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
@@ -27,13 +27,13 @@ sub disambiguate_location {
}
# If we ever link to a county problem report, needs to be to main FixMyStreet
-sub url_for_report {
- my ( $self, $problem ) = @_;
- my %councils = map { $_ => 1 } @{$problem->councils};
+sub base_url_for_report {
+ my ( $self, $report ) = @_;
+ my %councils = map { $_ => 1 } @{$report->councils};
if ( $councils{2434} ) {
- return $self->base_url . $problem->url;
+ return $self->base_url;
} else {
- return FixMyStreet->config('BASE_URL') . $problem->url;
+ return FixMyStreet->config('BASE_URL');
}
}