There was an error while loading. Please reload this page.
1 parent ade945b commit 2b56ca6Copy full SHA for 2b56ca6
1 file changed
src/Kdyby/Translation/Translator.php
@@ -327,11 +327,11 @@ public function getAvailableLocales()
327
*/
328
public function getLocale()
329
{
330
- if ($this->locale === NULL) {
+ if (parent::getLocale() === NULL) {
331
$this->setLocale($this->localeResolver->resolve($this));
332
}
333
334
- return $this->locale;
+ return parent::getLocale();
335
336
337
0 commit comments