Index: trunk/extensions/Suhosin/Suhosin.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | 'path' => __FILE__, |
39 | 39 | 'name' => 'Suhosin', |
40 | 40 | 'author' => array( 'Thomas Gries' ), |
41 | | - 'version' => '1.08 20120215', |
| 41 | + 'version' => '1.00 20120217', |
42 | 42 | 'url' => 'https://www.mediawiki.org/wiki/Extension:Suhosin', |
43 | 43 | 'descriptionmsg' => 'suhosin-desc', |
44 | 44 | ); |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | if ( extension_loaded( "suhosin" ) |
57 | 57 | && ini_get( "suhosin.get.max_name_length" ) |
58 | 58 | && isset( $wgResourceLoaderMaxQueryLength ) |
59 | | - && $wgResourceLoaderMaxQueryLength > 0 ) { |
| 59 | + && ( $wgResourceLoaderMaxQueryLength > 0 ) ) { |
60 | 60 | |
61 | 61 | // suhosin is active, thus do something meaningful with ini_get( "suhosin.get.max_name_length" ) |
62 | 62 | $wgResourceLoaderMaxQueryLength = min( $wgResourceLoaderMaxQueryLength, ini_get( "suhosin.get.max_name_length" ) ); |