don´t show warnings for missing language name definitions

This commit is contained in:
Frank Karlitschek 2012-01-14 15:41:02 +01:00
parent e0dc8b8ab2
commit 34a4784077

2
settings/personal.php Normal file → Executable file
View file

@ -31,7 +31,7 @@ array_unshift($languageCodes,$lang);
$languageNames=include 'languageCodes.php';
$languages=array();
foreach($languageCodes as $lang){
$languages[]=array('code'=>$lang,'name'=>$languageNames[$lang]);
$languages[]=array('code'=>$lang,'name'=>@$languageNames[$lang]);
}
// Return template