From: Alan Knowles Date: Wed, 9 Sep 2015 09:17:22 +0000 (+0800) Subject: I18n.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=db3b40e11d4ed9359d782f8387a09b79d4b020b8 I18n.php --- 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'])) {