Index: trunk/extensions/Narayam/Narayam.hooks.php |
— | — | @@ -62,7 +62,9 @@ |
63 | 63 | |
64 | 64 | $mandatorySchemes = array (); |
65 | 65 | foreach ($wgNarayamAlwaysLoadForLanguages as $languageCode) { |
66 | | - $mandatorySchemes += $wgNarayamSchemes[$languageCode]; |
| 66 | + if ( isset( $wgNarayamSchemes[$languageCode] ) ) { |
| 67 | + $mandatorySchemes += $wgNarayamSchemes[$languageCode]; |
| 68 | + } |
67 | 69 | } |
68 | 70 | |
69 | 71 | $userlangCode = $wgLang->getCode(); |