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
Use HTMLForm for Special:Export
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLCheckField.php
diff --git
a/includes/htmlform/HTMLCheckField.php
b/includes/htmlform/HTMLCheckField.php
index
ede30dd
..
90293f4
100644
(file)
--- a/
includes/htmlform/HTMLCheckField.php
+++ b/
includes/htmlform/HTMLCheckField.php
@@
-74,6
+74,11
@@
class HTMLCheckField extends HTMLFormField {
function getLabel() {
if ( $this->mParent instanceof OOUIHTMLForm ) {
return $this->mLabel;
+ } elseif (
+ $this->mParent instanceof HTMLForm &&
+ $this->mParent->getDisplayFormat() === 'div'
+ ) {
+ return '';
} else {
return ' ';
}