From b970aa13200029309629bf2c52b991bd48032edc Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sun, 1 Jun 2008 23:47:32 +0000 Subject: [PATCH] showDiff needs headers as parameters, even though they aren't needed here. Just give it two empty strings to avoid a PHP error. --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( '', '' ); } -- 2.20.1