mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Merge "Cite::referencesFormatEntry: Avoid Undefined index: key"
This commit is contained in:
commit
0f6a5a21af
|
@ -809,7 +809,7 @@ class Cite {
|
|||
if ( !isset( $val['count'] ) ) {
|
||||
// this handles the case of section preview for list-defined references
|
||||
return wfMessage( 'cite_references_link_many',
|
||||
self::getReferencesKey( $key . "-" . $val['key'] ),
|
||||
self::getReferencesKey( $key . "-" . ( isset( $val['key'] ) ? $val['key'] : '' ) ),
|
||||
'',
|
||||
$text
|
||||
)->inContentLanguage()->plain();
|
||||
|
|
Loading…
Reference in a new issue