aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 0319f56a6..56cd79147 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.273 2009-08-26 16:52:14 louise Exp $
+# $Id: index.cgi,v 1.274 2009-08-26 17:24:39 louise Exp $
use strict;
use Standard;
@@ -84,8 +84,11 @@ sub main {
} elsif ($q->param('pc') || ($q->param('x') && $q->param('y'))) {
($out, %params) = display_location($q);
$params{title} = _('Viewing a location');
- } elsif ($q->param('cobrand_page')) {
+ } elsif ($q->param('cobrand_page') && ($q->{site} ne 'fixmystreet')) {
($out, %params) = Cobrand::cobrand_page($q);
+ if (! $out){
+ $out = front_page($q);
+ }
} else {
$out = front_page($q);
}