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
Merge "Always preserve uselang in login form"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLRadioField.php
diff --git
a/includes/htmlform/fields/HTMLRadioField.php
b/includes/htmlform/fields/HTMLRadioField.php
index
69dc617
..
06ec372
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 ) ) {
}
if ( !is_string( $value ) && !is_int( $value ) ) {
- return $this->msg( 'htmlform-required' )
->parse()
;
+ return $this->msg( 'htmlform-required' );
}
$validOptions = HTMLFormField::flattenOptions( $this->getOptions() );
}
$validOptions = HTMLFormField::flattenOptions( $this->getOptions() );
@@
-35,7
+35,7
@@
class HTMLRadioField extends HTMLFormField {
if ( in_array( strval( $value ), $validOptions, true ) ) {
return true;
} else {
if ( in_array( strval( $value ), $validOptions, true ) ) {
return true;
} else {
- return $this->msg( 'htmlform-select-badoption' )
->parse()
;
+ return $this->msg( 'htmlform-select-badoption' );
}
}
}
}