From: Sam Reed Date: Thu, 6 Jan 2011 22:06:47 +0000 (+0000) Subject: Fix string concat error in r66150. Also was a bug/notice in TW X-Git-Tag: 1.31.0-rc.0~32740 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=2fa350deb2a662e0517baac1143fb7afc546e501;p=lhc%2Fweb%2Fwiklou.git Fix string concat error in r66150. Also was a bug/notice in TW --- 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 );