Index: trunk/extensions/Validator/includes/manipulations/ParamManipulationBoolean.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | public function doManipulation( &$value, Parameter $parameter, array &$parameters ) { |
32 | 32 | // When the value defaulted to a boolean, there is no need for this manipulation. |
33 | 33 | if ( !is_bool( $value ) || !$parameter->wasSetToDefault() ) { |
34 | | - $value = in_array( $value, array( 'yes', 'on' ) ); |
| 34 | + $value = in_array( strtolower( $value ), array( 'yes', 'on' ) ); |
35 | 35 | } |
36 | 36 | } |
37 | 37 | |