From 77f32826af5f2944ba141b76dba69f0b7a8c41a4 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 1 Jun 2011 15:56:23 +0000 Subject: fix --- en/downloads/dl_twitter.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'en/downloads/dl_twitter.php') 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 = <<