aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/dl_twitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/dl_twitter.php')
-rw-r--r--en/downloads/dl_twitter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/en/downloads/dl_twitter.php b/en/downloads/dl_twitter.php
index 7061c3e08..76310d716 100644
--- a/en/downloads/dl_twitter.php
+++ b/en/downloads/dl_twitter.php
@@ -8,6 +8,9 @@ function dl_twitter($locale)
'en' => 'I just downloaded Mageia 1, a new Linux distribution! Try it out!',
'fr' => 'Je viens de télécharger Mageia 1, nouvelle distribution Linux. À vous d\'essayer !'
);
+ if (!array_key_exists($locale, $langs))
+ $locale = 'en';
+
$s = <<<S
<a
href="http://twitter.com/share"