Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Aug 3, 2014
1 parent 20ebc34 commit a5577de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kdyby/Translation/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function getAvailableLocales()
public function getLocale()
{
if ($this->locale === NULL) {
$this->locale = $this->localeResolver->resolve($this);
$this->setLocale($this->localeResolver->resolve($this));
}

return $this->locale;
Expand Down

0 comments on commit a5577de

Please sign in to comment.