From: This, that and the other Date: Sun, 7 Aug 2016 05:14:16 +0000 (+1000) Subject: Fix display of numeric tag names on Special:Tags X-Git-Tag: 1.31.0-rc.0~6132^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=76fe44f788da93bddebcc9d15324cf8f22eafcdc;p=lhc%2Fweb%2Fwiklou.git Fix display of numeric tag names on Special:Tags All tag names that were numbers (e.g. "123456") showed up as "0". Change-Id: I8da326fa4dfa7e6556fb508c5e4b1f1573d1369b --- diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index 2139949958..3ebf5d0799 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -128,8 +128,7 @@ class SpecialTags extends SpecialPage { ChangeTags::listExtensionDefinedTags(), true ); // List all defined tags, even if they were never applied - $definedTags = array_keys( array_merge( - $this->explicitlyDefinedTags, $this->extensionDefinedTags ) ); + $definedTags = array_keys( $this->explicitlyDefinedTags + $this->extensionDefinedTags ); // Show header only if there exists atleast one tag if ( !$tagStats && !$definedTags ) {