From 2fa350deb2a662e0517baac1143fb7afc546e501 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 6 Jan 2011 22:06:47 +0000 Subject: [PATCH] Fix string concat error in r66150. Also was a bug/notice in TW --- includes/api/ApiParse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index a626c77d31..faeeb01d9c 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -105,7 +105,7 @@ class ApiParse extends ApiBase { $wgTitle = $titleObj; if ( $this->section !== false ) { - $text = $this->getSectionText( $text, 'r' . $rev ); + $text = $this->getSectionText( $text, 'r' . $rev->getId() ); } $p_result = $wgParser->parse( $text, $titleObj, $popts ); -- 2.20.1