X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=I18n.php;fp=I18n.php;h=b6812a0da2d70fc9f4e52b28fa13b2b7fbea1fba;hb=109cbd330912232ceaf7455e30a782de9719f1a0;hp=81d40c270b77d36ebd59c133a6131b2f0afdf3d4;hpb=eb4ccbd9977d4c6bde75ec548aa0df1938633f25;p=Pman.Core diff --git a/I18n.php b/I18n.php index 81d40c27..b6812a0d 100644 --- a/I18n.php +++ b/I18n.php @@ -81,7 +81,9 @@ class Pman_Core_I18n extends Pman } - function guessUsersLanguage() { + function guessUsersLanguage() + { + $this->sessionState(0); $lang = !$this->authUser || empty($this->authUser->lang ) ? 'en' : $this->authUser->lang;