Forráskód Böngészése

[FrameworkBundle] fixed typo in Translator

ornicar 14 éve
szülő
commit
5c406b9dc0

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

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