r101378 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101377‎ | r101378 | r101379 >
Date:18:28, 31 October 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r101376
Modified paths:
  • /branches/wmf/1.18wmf1/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/OutputPage.php
@@ -1596,7 +1596,7 @@
15971597 $this->mVaryHeader[$header] = $option;
15981598 }
15991599 }
1600 - $this->mVaryHeader[$header] = array_unique( $this->mVaryHeader[$header] );
 1600+ $this->mVaryHeader[$header] = array_unique( (array)$this->mVaryHeader[$header] );
16011601 }
16021602
16031603 /**
Property changes on: branches/wmf/1.18wmf1/includes/OutputPage.php
___________________________________________________________________
Modified: svn:mergeinfo
16041604 Merged /trunk/phase3/includes/OutputPage.php:r101376

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101376Prevent notice in OutputPage by casting to an array. This already exists on t...catrope18:27, 31 October 2011

Status & tagging log