From: Chad Horohoe Date: Tue, 19 May 2009 14:54:20 +0000 (+0000) Subject: Code style tweak, use strval() to make this all much shorter. X-Git-Tag: 1.31.0-rc.0~41747 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=b7f93df5b8c3e46c9556959fa50155979a90e155;p=lhc%2Fweb%2Fwiklou.git Code style tweak, use strval() to make this all much shorter. --- diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 06bf34a150..7e500f70c9 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -68,7 +68,7 @@ class SpecialExport extends SpecialPage { $page = $wgRequest->getText( 'pages' ); $nsindex = $wgRequest->getText( 'nsindex', '' ); - if ( $nsindex !== '' && $nsindex !== null && $nsindex !== false ) { + if ( strval( $nsindex ) !== '' ) { /** * Same implementation as above, so same @fixme */