diff --git a/Cite_body.php b/Cite_body.php index 172fc91f7..30535df7f 100644 --- a/Cite_body.php +++ b/Cite_body.php @@ -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();