From: Roan Kattouw Date: Thu, 17 Sep 2009 14:22:31 +0000 (+0000) Subject: Followup to r56174: tooltipAndAccesskey also returns a string X-Git-Tag: 1.31.0-rc.0~39679 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=b4044991f69e232cc6072d183703e0684ff1184f;p=lhc%2Fweb%2Fwiklou.git Followup to r56174: tooltipAndAccesskey also returns a string --- diff --git a/includes/Linker.php b/includes/Linker.php index 4b37f29bdb..f598769a21 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1943,7 +1943,7 @@ class Linker { public function tooltipAndAccesskey( $name ) { global $wgEnableTooltipsAndAccesskeys; if ( !$wgEnableTooltipsAndAccesskeys ) - return array(); + return ''; # FIXME: If Sanitizer::expandAttributes() treated "false" as "output # no attribute" instead of "output '' as value for attribute", this # would be three lines.