Followup to r56174: tooltipAndAccesskey also returns a string
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 17 Sep 2009 14:22:31 +0000 (14:22 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 17 Sep 2009 14:22:31 +0000 (14:22 +0000)
includes/Linker.php

index 4b37f29..f598769 100644 (file)
@@ -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.