aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-06-01 15:56:23 +0000
committerRomain d'Alverny <rda@mageia.org>2011-06-01 15:56:23 +0000
commit77f32826af5f2944ba141b76dba69f0b7a8c41a4 (patch)
tree67c945b1f71dfe3e683f5b3c14a302954f39c554 /en
parentf1cd9147eb22da421213565ee7fd17f3ed45a015 (diff)
downloadwww-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar
www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.gz
www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.bz2
www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.xz
www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.zip
fix
Diffstat (limited to 'en')
-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"