aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/UKCouncils.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UKCouncils.pm b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
index 7336e60ca..60cecd0bb 100644
--- a/perllib/FixMyStreet/Cobrand/UKCouncils.pm
+++ b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
@@ -261,7 +261,9 @@ sub base_url_for_report {
sub relative_url_for_report {
my ( $self, $report ) = @_;
- return $self->owns_problem($report) ? "" : FixMyStreet->config('BASE_URL');
+ return "" if $self->owns_problem($report);
+ return FixMyStreet::Cobrand::TfL->base_url if $report->cobrand eq 'tfl';
+ return FixMyStreet->config('BASE_URL');
}
sub admin_allow_user {