diff options
author | matthew <matthew> | 2008-10-08 16:57:35 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-10-08 16:57:35 +0000 |
commit | 4cc495a619a1c0da43aee79ac966d3573ea1e565 (patch) | |
tree | 2583d6f366dd64f3f49bff0d33b5cbb9a02a1984 /perllib/CrossSell.pm | |
parent | f02c4a8a3ba5eb734df92205c7e7ff41551d53a8 (diff) |
More text updates, start of look change.
Diffstat (limited to 'perllib/CrossSell.pm')
-rw-r--r-- | perllib/CrossSell.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/CrossSell.pm b/perllib/CrossSell.pm index db1afeb21..2e0fefab2 100644 --- a/perllib/CrossSell.pm +++ b/perllib/CrossSell.pm @@ -9,7 +9,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: CrossSell.pm,v 1.13 2008-10-07 16:27:34 matthew Exp $ +# $Id: CrossSell.pm,v 1.14 2008-10-08 16:57:35 matthew Exp $ # Config parameters site needs set to call these functions: # OPTION_AUTH_SHARED_SECRET @@ -147,6 +147,8 @@ EOF sub display_advert ($$;$%) { my ($q, $email, $name, %data) = @_; + return '' unless $q->{site} eq 'fixmystreet'; + if (defined $data{council} && $data{council} eq '2326') { my ($out, $ad) = display_hfyc_cheltenham_advert($email, $name); if ($out) { |