mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Merge "More robust property initialization in ReferenceStack"
This commit is contained in:
commit
1c19bb8b90
|
@ -121,6 +121,8 @@ class ReferenceStack {
|
|||
) : ?array {
|
||||
if ( !isset( $this->refs[$group] ) ) {
|
||||
$this->refs[$group] = [];
|
||||
}
|
||||
if ( !isset( $this->groupRefSequence[$group] ) ) {
|
||||
$this->groupRefSequence[$group] = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue