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 "Diff and history link separated via CSS"
[lhc/web/wiklou.git]
/
maintenance
/
language
/
generateCollationData.php
diff --git
a/maintenance/language/generateCollationData.php
b/maintenance/language/generateCollationData.php
index
a105920
..
210e907
100644
(file)
--- a/
maintenance/language/generateCollationData.php
+++ b/
maintenance/language/generateCollationData.php
@@
-247,11
+247,7
@@
class GenerateCollationData extends Maintenance {
if ( $weight !== $prevWeight ) {
$this->groups[$prevWeight] = $group;
$prevWeight = $weight;
if ( $weight !== $prevWeight ) {
$this->groups[$prevWeight] = $group;
$prevWeight = $weight;
- if ( isset( $this->groups[$weight] ) ) {
- $group = $this->groups[$weight];
- } else {
- $group = [];
- }
+ $group = $this->groups[$weight] ?? [];
}
$group[] = $cp;
}
}
$group[] = $cp;
}