Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php |
— | — | @@ -336,7 +336,7 @@ |
337 | 337 | $attribs['title'] = $localLanguageNames[$lang]; |
338 | 338 | } |
339 | 339 | |
340 | | - $langDisplay = $langNames[$lang]; |
| 340 | + $langDisplay = ( isset( $langNames[$lang] ) ? $langNames[$lang] : '' ); |
341 | 341 | if ( isset( $localLanguageNames[$lang] ) && strlen( $localLanguageNames[$lang] ) && $langDisplay != $localLanguageNames[$lang] ) { |
342 | 342 | $langDisplay .= ' (' . $localLanguageNames[$lang] . ')'; |
343 | 343 | } |