From: Alexandre Emsenhuber Date: Tue, 8 Apr 2008 16:06:17 +0000 (+0000) Subject: Fixed E_NOTICE: array to string conversion in parserTests. X-Git-Tag: 1.31.0-rc.0~48530 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=48933738bec59441e59c0b813240c79d7418ff98;p=lhc%2Fweb%2Fwiklou.git Fixed E_NOTICE: array to string conversion in parserTests. --- diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 0e943a090b..c2f49386d9 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -313,7 +313,8 @@ class ParserTest { } else if (preg_match('/\\bcat\\b/i', $opts)) { global $wgOut; $wgOut->addCategoryLinks($output->getCategories()); - $out = $this->tidy( implode( ' ', $wgOut->getCategoryLinks() ) ); + $cats = $wgOut->getCategoryLinks(); + $out = $this->tidy( implode( ' ', $cats['normal'] ) ); } $result = $this->tidy($result);