X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=I18n.php;fp=I18n.php;h=d933319765fd4936e2d38b311d8f686f99d0b18f;hb=db3b40e11d4ed9359d782f8387a09b79d4b020b8;hp=aee7af22a3c9405edb2b247669eecd0513b1e5a0;hpb=3dd90c58e9c2a31cd553d3c1c660a57e3af22476;p=Pman.Core diff --git a/I18n.php b/I18n.php index aee7af22..d9333197 100644 --- a/I18n.php +++ b/I18n.php @@ -82,7 +82,7 @@ class Pman_Core_I18n extends Pman function guessUsersLanguage() { - + $lang = !$this->authUser || empty($this->authUser->lang ) ? 'en' : $this->authUser->lang; /// verify the selected language.. @@ -108,7 +108,7 @@ class Pman_Core_I18n extends Pman function get($s ='') { - + $this->sessionState(false); $lbits = $this->guessUsersLanguage(); if ($this->authUser && !empty($_REQUEST['_debug'])) {