From: Max Semenik Date: Thu, 24 Apr 2014 22:09:34 +0000 (-0700) Subject: HtmlFormatter::filterContent() should always return an array X-Git-Tag: 1.31.0-rc.0~16017^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=0205678fcf4d7f01b924a1d8a13466eae1216805;p=lhc%2Fweb%2Fwiklou.git HtmlFormatter::filterContent() should always return an array Follow-up to 6289f3c48ca8dde511d227411e16b731d3c05328 Change-Id: Iac9c1440ac19590f778fc50c75b73da04a190f59 --- diff --git a/includes/HtmlFormatter.php b/includes/HtmlFormatter.php index 96ffe9ea5c..83d0530de2 100644 --- a/includes/HtmlFormatter.php +++ b/includes/HtmlFormatter.php @@ -138,7 +138,7 @@ class HtmlFormatter { if ( !$removals ) { wfProfileOut( __METHOD__ ); - return; + return array(); } $doc = $this->getDoc();