dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add HTMLFormField class for MWRestrictions and use it for bot passwords
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLRadioField.php
diff --git
a/includes/htmlform/fields/HTMLRadioField.php
b/includes/htmlform/fields/HTMLRadioField.php
index
f9f035d
..
42c2fdf
100644
(file)
--- 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() );