diff options
Diffstat (limited to 'perllib/Cobrand.pm')
-rw-r--r-- | perllib/Cobrand.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/Cobrand.pm b/perllib/Cobrand.pm index b30b5fe48..4e3638881 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.7 2009-09-02 08:32:00 louise Exp $ +# $Id: Cobrand.pm,v 1.8 2009-09-02 08:55:59 louise Exp $ package Cobrand; use strict; @@ -74,15 +74,15 @@ sub set_site_restriction{ } -=item set_lang_and_domain COBRAND HOST +=item set_lang_and_domain COBRAND LANG Set the language and domain of the site based on the cobrand and host =cut sub set_lang_and_domain{ - my ($cobrand, $host) = @_; + my ($cobrand, $lang) = @_; my $handle = cobrand_handle($cobrand); if ($handle != 0){ - $handle->set_lang_and_domain($host); + $handle->set_lang_and_domain($lang); } } |