From: Florian Date: Sun, 6 Dec 2015 01:30:30 +0000 (+0100) Subject: SpecialContributions: Fix whitespace in tagfilter X-Git-Tag: 1.31.0-rc.0~8790^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=43c770c954302a8024582061406fee7ef02205d2;p=lhc%2Fweb%2Fwiklou.git SpecialContributions: Fix whitespace in tagfilter Removing the first element of an array, and using it as a label, doesn't make much sense, if the array will be imploded using a whitespace to add a whitespace between both array parts. Instead of writing: Tag filter: this will result in the expected output: Tag filter: Change-Id: Ifc9de7cc6ab380fcff435fcd0410963e72ef6203 --- diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 71d2b2394d..b1908c2fe4 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -482,7 +482,7 @@ class SpecialContributions extends IncludableSpecialPage { $filterSelection = Html::rawElement( 'td', array(), - array_shift( $tagFilter ) . implode( ' ', $tagFilter ) + implode( ' ', $tagFilter ) ); } else { $filterSelection = Html::rawElement( 'td', array( 'colspan' => 2 ), '' );