I18n.php
authorAlan Knowles <alan@roojs.com>
Wed, 9 Sep 2015 09:17:22 +0000 (17:17 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Sep 2015 09:17:22 +0000 (17:17 +0800)
I18n.php

index aee7af2..d933319 100644 (file)
--- 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'])) {