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 "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLInfoField.php
diff --git
a/includes/htmlform/fields/HTMLInfoField.php
b/includes/htmlform/fields/HTMLInfoField.php
index
c0dbf50
..
b4aab4a
100644
(file)
--- a/
includes/htmlform/fields/HTMLInfoField.php
+++ b/
includes/htmlform/fields/HTMLInfoField.php
@@
-22,7
+22,7
@@
class HTMLInfoField extends HTMLFormField {
public function getDefault() {
$default = parent::getDefault();
if ( $default instanceof Closure ) {
- $default =
call_user_func( $default,
$this->mParams );
+ $default =
$default(
$this->mParams );
}
return $default;
}