X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLRadioField.php;h=42c2fdf392d4fcf5bce8f7466454dd86e92d8f57;hb=3090a1d1f8ba4e67e0a4b53f5619144a69303513;hp=f9f035d4d71756adf667be758d339e7b0d7b0fef;hpb=46c7453ddb593a124a307a7a3944c3fcf0983d29;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLRadioField.php b/includes/htmlform/fields/HTMLRadioField.php index f9f035d4d7..42c2fdf392 100644 --- a/includes/htmlform/fields/HTMLRadioField.php +++ b/includes/htmlform/fields/HTMLRadioField.php @@ -27,7 +27,7 @@ class HTMLRadioField extends HTMLFormField { } if ( !is_string( $value ) && !is_int( $value ) ) { - return false; + return $this->msg( 'htmlform-required' )->parse(); } $validOptions = HTMLFormField::flattenOptions( $this->getOptions() );