From: Daniel Friesen Date: Sun, 1 Jun 2008 23:47:32 +0000 (+0000) Subject: showDiff needs headers as parameters, even though they aren't needed here. Just give... X-Git-Tag: 1.31.0-rc.0~47250 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=b970aa13200029309629bf2c52b991bd48032edc;p=lhc%2Fweb%2Fwiklou.git showDiff needs headers as parameters, even though they aren't needed here. Just give it two empty strings to avoid a PHP error. --- diff --git a/includes/Article.php b/includes/Article.php index cc4418776d..0cb15a0e00 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2612,7 +2612,7 @@ class Article { $wgOut->addHtml( wfMsgExt( 'rollback-success', array( 'parse', 'replaceafter' ), $old, $new ) ); $wgOut->returnToMain( false, $this->mTitle ); $de = new DifferenceEngine( $this->mTitle, $current->getId(), 'next', false, true ); - $de->showDiff(); + $de->showDiff( '', '' ); }