소스 검색

[FrameworkBundle] fixed typo in Translator

ornicar 14 년 전
부모
커밋
5c406b9dc0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php

@@ -67,7 +67,7 @@ class Translator extends BaseTranslator
     public function getLocale()
     {
         if (null === $this->locale && null !== $this->session) {
-            $this->locale = $session->getLocale();
+            $this->locale = $this->session->getLocale();
         }
 
         return $this->locale;