From b4044991f69e232cc6072d183703e0684ff1184f Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 17 Sep 2009 14:22:31 +0000 Subject: [PATCH] Followup to r56174: tooltipAndAccesskey also returns a string --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1