summaryrefslogtreecommitdiff
path: root/includes/lib
diff options
context:
space:
mode:
Diffstat (limited to 'includes/lib')
-rw-r--r--includes/lib/l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/lib/l10n.php b/includes/lib/l10n.php
index 1a8109b..85b7aff 100644
--- a/includes/lib/l10n.php
+++ b/includes/lib/l10n.php
@@ -214,7 +214,7 @@ class L10n {
// No translation found yet => try the prefixes
arsort($fallbacks, SORT_NUMERIC);
foreach ($fallbacks as $lang => $qvalue) {
- if (self::set_translation($chosen_translation)) {
+ if (self::set_translation($lang)) {
return;
}
}