dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6447ae9
)
Prevent notice in OutputPage by casting to an array. This already exists on the WMF...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 31 Oct 2011 18:27:35 +0000
(18:27 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 31 Oct 2011 18:27:35 +0000
(18:27 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
13672e9
..
83faccc
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1640,7
+1640,7
@@
class OutputPage extends ContextSource {
$this->mVaryHeader[$header] = $option;
}
}
- $this->mVaryHeader[$header] = array_unique( $this->mVaryHeader[$header] );
+ $this->mVaryHeader[$header] = array_unique(
(array)
$this->mVaryHeader[$header] );
}
/**