diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index fc0b6328..19abdba7 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -14,8 +14,8 @@ abstract class LeftAndMain extends Controller { // set language $member = Member::currentUser(); - if(!empty($member->Lang)) { - i18n::set_locale($member->Lang); + if(!empty($member->Locale)) { + i18n::set_locale($member->Locale); } parent::init();