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
Improve default behavior for HTMLForm::canDisplayErrors
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLFormField.php
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()
;
}
/**