r113072 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113071‎ | r113072 | r113073 >
Date:19:47, 5 March 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
be sure to not end up w/ duplicate html
Modified paths:
  • /trunk/extensions/EducationProgram/specials/SpecialEducationProgram.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/specials/SpecialEducationProgram.php
@@ -39,6 +39,7 @@
4040 $out = $this->getOutput();
4141
4242 if ( $this->getRequest()->getText( 'action' ) !== 'purge' && is_string( $cachedHTML ) ) {
 43+ $out->clearHTML();
4344 $out->addHTML( $cachedHTML );
4445 }
4546 else {

Status & tagging log