From 43c770c954302a8024582061406fee7ef02205d2 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 6 Dec 2015 02:30:30 +0100 Subject: [PATCH] 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 --- includes/specials/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ), '' ); -- 2.20.1