$installer = InstallerOverrides::getWebInstaller( $request );
if ( !$installer->startSession() ) {
- if ( $installer->request->getVal( "css" ) ) {
+ if ( $installer->request->getVal( 'css' ) ) {
// Do not display errors on css pages
$installer->outputCss();
exit;
$session = array();
}
- if ( !is_null( $request->getVal( 'uselang' ) ) ) {
+ if ( $request->getCheck( 'uselang' ) ) {
$langCode = $request->getVal( 'uselang' );
} elseif ( isset( $session['settings']['_UserLang'] ) ) {
$langCode = $session['settings']['_UserLang'];