aboutsummaryrefslogtreecommitdiffstats
path: root/downloads.php
diff options
context:
space:
mode:
Diffstat (limited to 'downloads.php')
-rw-r--r--downloads.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/downloads.php b/downloads.php
index f577e64e5..0e0b0f592 100644
--- a/downloads.php
+++ b/downloads.php
@@ -7,7 +7,8 @@ $locale = $locale[1];
include 'downloads_locales.php';
-$locale = 'fr';
+if (!array_key_exists($locale, $_t))
+ $locale = 'en';
$_t = $_t[$locale];