diff options
author | louise <louise> | 2009-11-12 14:39:06 +0000 |
---|---|---|
committer | louise <louise> | 2009-11-12 14:39:06 +0000 |
commit | d38e1f73eeb56d10d98a3cdc0d2f852afcdab7c9 (patch) | |
tree | 145e8abf49c07b23deb8d17a29f7901095b04e66 /perllib/Problems.pm | |
parent | 1b8c03831d5ac8c8812909d001bb3c82af72b69a (diff) |
Setting site restriction back to none on non-cobranded requests
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index 53b268c5e..251294b63 100644 --- a/perllib/Problems.pm +++ b/perllib/Problems.pm @@ -6,7 +6,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Problems.pm,v 1.23 2009-11-12 10:21:35 louise Exp $ +# $Id: Problems.pm,v 1.24 2009-11-12 14:39:06 louise Exp $ # package Problems; @@ -25,6 +25,9 @@ sub set_site_restriction { my $site = $q->{site}; if ($site ne 'fixmystreet'){ ($site_restriction, $site_key) = Cobrand::set_site_restriction($q); + } else { + $site_restriction = ''; + $site_key = 0; } } |