dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6154c
)
Improve default behavior for HTMLForm::canDisplayErrors
author
Gergő Tisza
<gtisza@wikimedia.org>
Mon, 22 Aug 2016 22:27:28 +0000
(22:27 +0000)
committer
Gergő Tisza
<gtisza@wikimedia.org>
Mon, 22 Aug 2016 22:27:55 +0000
(22:27 +0000)
Change-Id: I3cd94d9b6ce0343af35c1623dac357cccc44293c
includes/htmlform/HTMLFormField.php
patch
|
blob
|
history
diff --git
a/includes/htmlform/HTMLFormField.php
b/includes/htmlform/HTMLFormField.php
index
5f6460d
..
da045ea
100644
(file)
--- a/
includes/htmlform/HTMLFormField.php
+++ b/
includes/htmlform/HTMLFormField.php
@@
-61,7
+61,7
@@
abstract class HTMLFormField {
* @return bool
*/
public function canDisplayErrors() {
- return
true
;
+ return
$this->hasVisibleOutput()
;
}
/**