aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/Cobrand.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/Cobrand.pm b/perllib/Cobrand.pm
index cfd635028..116268f92 100644
--- a/perllib/Cobrand.pm
+++ b/perllib/Cobrand.pm
@@ -7,7 +7,7 @@
# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
# Email: louise@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: Cobrand.pm,v 1.1 2009-08-20 12:39:35 louise Exp $
+# $Id: Cobrand.pm,v 1.2 2009-08-20 15:38:48 louise Exp $
package Cobrand;
@@ -21,6 +21,7 @@ Return an array of allowed cobrand subdomains
=cut
sub get_allowed_cobrands{
my $allowed_cobrand_string = mySociety::Config::get('ALLOWED_COBRANDS');
- my @allowed_cobrands = split(/:/, $allowed_cobrand_string);
- return @allowed_cobrands;
+ my @allowed_cobrands = split(/\|/, $allowed_cobrand_string);
+ return \@allowed_cobrands;
}
+1;