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 "Do not require titles on Special:ComparePages"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLCheckMatrix.php
diff --git
a/includes/htmlform/fields/HTMLCheckMatrix.php
b/includes/htmlform/fields/HTMLCheckMatrix.php
index
df44626
..
d885c9d
100644
(file)
--- a/
includes/htmlform/fields/HTMLCheckMatrix.php
+++ b/
includes/htmlform/fields/HTMLCheckMatrix.php
@@
-239,11
+239,7
@@
class HTMLCheckMatrix extends HTMLFormField implements HTMLNestedFilterable {
}
public function getDefault() {
- if ( isset( $this->mDefault ) ) {
- return $this->mDefault;
- } else {
- return [];
- }
+ return $this->mDefault ?? [];
}
public function filterDataForSubmit( $data ) {