aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2012-01-30 16:36:43 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2012-01-30 16:46:06 +0000
commit9a9889db881e24c17f51804ba56c11bd264bbf9c (patch)
tree2f6f8de01e3aba72f8736c9a25606b85842d495f /perllib/FixMyStreet/Cobrand.pm
parenta176268063145c9a2d5359c24da0143fb4fe7520 (diff)
Make FixMyStreet a cobrand, like the others.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand.pm b/perllib/FixMyStreet/Cobrand.pm
index 6fe2a2bc8..ad21820d7 100644
--- a/perllib/FixMyStreet/Cobrand.pm
+++ b/perllib/FixMyStreet/Cobrand.pm
@@ -84,6 +84,9 @@ sub get_class_for_moniker {
return $avail if $moniker eq $avail->moniker;
}
+ # Special case for old blank cobrand entries in fixmystreet.com.
+ return 'FixMyStreet::Cobrand::FixMyStreet' if $moniker eq '';
+
# if none match then use the default
return 'FixMyStreet::Cobrand::Default';
}