followup r79862: the for loop only cleans up half the output handlers (since $i count...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Thu, 22 Sep 2011 20:44:05 +0000 (20:44 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Thu, 22 Sep 2011 20:44:05 +0000 (20:44 +0000)
commitb0f51413b02683515823fe41a22eadb0557928a8
tree3ced6372793f33ef7f86893743abfec232c5f252
parent07dc087494f3f954d3ecec01398bdde3eec5f948
followup r79862: the for loop only cleans up half the output handlers (since $i counts up while ob_get_level() counts down); check the return value of ob_end_clean() instead.
(I just noticed this while eyeballing the code -- apparently most people don't have multiple output handlers active, given that nobody had caught this in over eight months.)
includes/resourceloader/ResourceLoader.php