]> source.dussan.org Git - nextcloud-server.git/commitdiff
donĀ“t show warnings for missing language name definitions
authorFrank Karlitschek <karlitschek@kde.org>
Sat, 14 Jan 2012 14:41:02 +0000 (15:41 +0100)
committerFrank Karlitschek <karlitschek@kde.org>
Sat, 14 Jan 2012 14:41:02 +0000 (15:41 +0100)
settings/personal.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index c27ca0a..7035f1b
@@ -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