From: Bartosz DziewoƄski Date: Mon, 20 Mar 2017 14:26:47 +0000 (+0100) Subject: SpecialRecentchanges: Unbreak $wgAllowCategorizedRecentChanges X-Git-Tag: 1.31.0-rc.0~3740^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=1f50b8fc5803e88590aa323048e8f1aac3320544;p=lhc%2Fweb%2Fwiklou.git SpecialRecentchanges: Unbreak $wgAllowCategorizedRecentChanges Bug: T85742 Change-Id: I8709af6031d1cb2d1b6d25eb250c1fce150514e7 --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 29e8900860..205f7cf02b 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -23,6 +23,7 @@ use MediaWiki\MediaWikiServices; use Wikimedia\Rdbms\ResultWrapper; +use Wikimedia\Rdbms\FakeResultWrapper; /** * A special page that lists last changes made to the wiki @@ -694,7 +695,7 @@ class SpecialRecentChanges extends ChangesListSpecialPage { $newrows[$k] = $rowsarr[$k]; } } - $rows = $newrows; + $rows = new FakeResultWrapper( array_values( $newrows ) ); } /**