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:
0771d64
)
Add wfSuppressWarnings(); to CologneBlue.
author
Daniel Friesen
<daniel@nadir-seen-fire.com>
Mon, 15 Oct 2012 01:30:39 +0000
(18:30 -0700)
committer
Daniel Friesen
<daniel@nadir-seen-fire.com>
Mon, 15 Oct 2012 01:30:39 +0000
(18:30 -0700)
Change-Id: Ie5754f854ca4a59fecb42fa4b32859e6b9a0db7c
skins/CologneBlue.php
patch
|
blob
|
history
diff --git
a/skins/CologneBlue.php
b/skins/CologneBlue.php
index
473ee2b
..
984ca63
100644
(file)
--- a/
skins/CologneBlue.php
+++ b/
skins/CologneBlue.php
@@
-55,6
+55,8
@@
class SkinCologneBlue extends SkinTemplate {
class CologneBlueTemplate extends BaseTemplate {
function execute() {
+ // Suppress warnings to prevent notices about missing indexes in $this->data
+ wfSuppressWarnings();
$this->html( 'headelement' );
echo $this->beforeContent();
$this->html( 'bodytext' );
@@
-63,6
+65,7
@@
class CologneBlueTemplate extends BaseTemplate {
$this->html( 'dataAfterContent' );
$this->printTrail();
echo "\n</body></html>";
+ wfRestoreWarnings();
}