diff options
author | louise <louise> | 2009-09-02 08:35:25 +0000 |
---|---|---|
committer | louise <louise> | 2009-09-02 08:35:25 +0000 |
commit | e24c517859bce932857ba50d5b685fe4723b56d5 (patch) | |
tree | 6122c76e30d96832ce83f3d6d6ec9d36473c3110 | |
parent | 163cb1507ec530865fee35cbcfc9a93468f43e7d (diff) |
Change in params to set_lang_and_domain
-rw-r--r-- | perllib/Page.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 6d6c6a94d..65b6abc9b 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.pm,v 1.166 2009-08-31 14:19:42 louise Exp $ +# $Id: Page.pm,v 1.167 2009-09-02 08:35:25 louise Exp $ # package Page; @@ -105,7 +105,7 @@ sub microsite { } if ($q->{site} ne 'fixmystreet') { - Cobrand::set_lang_and_domain($q, $host); + Cobrand::set_lang_and_domain($q->{site}, $host); } else { mySociety::Locale::negotiate_language('en-gb,English,en_GB|nb,Norwegian,nb_NO'); # XXX Testing mySociety::Locale::gettext_domain('FixMyStreet'); |