This commit is contained in:
Aram HARUTYUNYAN 2013-05-06 05:33:23 +00:00
parent 992afee9f8
commit 36c29254bd

View File

@ -20,7 +20,7 @@ class Application_Controller_Plugin_Language extends Zend_Controller_Plugin_Abst
$langLocale = 'en'; $langLocale = 'en';
break; break;
default: default:
$langLocale = $user->getLang(); $langLocale = $session->lang !='' ? $session->lang : $user->getLang();
} }
$newLocale = new Zend_Locale(); $newLocale = new Zend_Locale();