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:
f720cbd
)
ResourceLoader: Clear warnings before echo'ing output
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 18 Oct 2010 20:16:19 +0000
(20:16 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 18 Oct 2010 20:16:19 +0000
(20:16 +0000)
includes/ResourceLoader.php
patch
|
blob
|
history
diff --git
a/includes/ResourceLoader.php
b/includes/ResourceLoader.php
index
49fb2f1
..
1d4a202
100644
(file)
--- a/
includes/ResourceLoader.php
+++ b/
includes/ResourceLoader.php
@@
-300,7
+300,10
@@
class ResourceLoader {
return;
}
- echo $this->makeModuleResponse( $context, $modules, $missing );
+ $response = $this->makeModuleResponse( $context, $modules, $missing );
+ // Clear any warnings from the buffer
+ ob_clean();
+ echo $response;
wfProfileOut( __METHOD__ );
}