summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-10-18 22:05:22 +0200
committerMichael Tänzer <neo@nhng.de>2011-10-18 22:05:22 +0200
commitffeed4b555aa9c0088c43d1dbfbd810d3b177c01 (patch)
tree3b020327b86182131ec46e90f14f55a54309f180 /includes
parent895266bc216c1983e629ffc2b546ecd2999ae922 (diff)
downloadcacert-devel-ffeed4b555aa9c0088c43d1dbfbd810d3b177c01.tar.gz
cacert-devel-ffeed4b555aa9c0088c43d1dbfbd810d3b177c01.tar.xz
cacert-devel-ffeed4b555aa9c0088c43d1dbfbd810d3b177c01.zip
bug 985: Doh, never copy and paste code
I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes')
-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;
}
}