Merge "Add isset() check before accessing $this->mRefs[$group]"

This commit is contained in:
jenkins-bot 2015-10-31 12:02:13 +00:00 committed by Gerrit Code Review
commit 02363beb7c

View file

@ -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 '';
}