Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -692,15 +692,15 @@ |
693 | 693 | global $wgRequest; |
694 | 694 | wfProfileIn( __METHOD__ ); |
695 | 695 | |
696 | | - $hideSearchBox = $wgRequest->getText( 'hidesearchbox' ); |
| 696 | + $hideSearchBox = $wgRequest->getInt( 'hidesearchbox' ); |
697 | 697 | |
698 | | - if ( $hideSearchBox == 1 ) { |
| 698 | + if ( $hideSearchBox === 1 ) { |
699 | 699 | self::$hideSearchBox = true; |
700 | 700 | } |
701 | 701 | |
702 | | - $hideLogo = $wgRequest->getText( 'hidelogo' ); |
| 702 | + $hideLogo = $wgRequest->getInt( 'hidelogo' ); |
703 | 703 | |
704 | | - if ( $hideLogo && $hideLogo == 1 ) { |
| 704 | + if ( $hideLogo === 1 ) { |
705 | 705 | self::$hideLogo = true; |
706 | 706 | } |
707 | 707 | |