diff options
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index 5b20e286b..358e280c3 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -84,12 +84,7 @@ sub display_crosssell_advert { my ( $self, $c, $email, $name, %data ) = @_; return unless $c->cobrand->allow_crosssell_adverts(); - - # fake up the old style $q - my $q = { site => $c->cobrand->moniker, }; - $q->{site} = 'fixmystreet' if $q->{site} eq 'default'; - - return CrossSell::display_advert( $q, $email, $name, %data ); + return CrossSell::display_advert( $c, $email, $name, %data ); } =head2 Utils::prettify_epoch |