Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -854,7 +854,7 @@ |
855 | 855 | patched by Liangent and Philip */ |
856 | 856 | function addAcceptLanguage() { |
857 | 857 | global $wgRequest, $wgContLang; |
858 | | - if( $wgRequest->getText('variant') == false && $wgContLang->hasVariants() ) { |
| 858 | + if( !$wgRequest->getCheck('variant') && $wgContLang->hasVariants() ) { |
859 | 859 | $variants = $wgContLang->getVariants(); |
860 | 860 | $aloption = array(); |
861 | 861 | foreach ( $variants as $variant ) { |