From 48933738bec59441e59c0b813240c79d7418ff98 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 8 Apr 2008 16:06:17 +0000 Subject: [PATCH] Fixed E_NOTICE: array to string conversion in parserTests. --- maintenance/parserTests.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1