mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Merge "Add isset() check before accessing $this->mRefs[$group]"
This commit is contained in:
commit
02363beb7c
|
@ -651,7 +651,7 @@ class Cite {
|
|||
* @return string XHTML ready for output
|
||||
*/
|
||||
function referencesFormat( $group ) {
|
||||
if ( !$this->mRefs || !$this->mRefs[$group] ) {
|
||||
if ( !$this->mRefs || !isset( $this->mRefs[$group] ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue