summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/Factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/Factory.php')
-rw-r--r--lib/private/L10N/Factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php
index b8774c2f74e..d824fa461e7 100644
--- a/lib/private/L10N/Factory.php
+++ b/lib/private/L10N/Factory.php
@@ -126,7 +126,7 @@ class Factory implements IFactory {
}
if ($locale === null || !$this->localeExists($locale)) {
- $locale = $this->findLocale($app, $lang);
+ $locale = $this->findLocale($lang);
}
if (!isset($this->instances[$lang][$app])) {