r56477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56476‎ | r56477 | r56478 >
Date:01:09, 17 September 2009
Author:brion
Status:ok (Comments)
Tags:
Comment:
array() -> '' for string return
Modified paths:
  • /branches/wmf-deployment/includes/Linker.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/Linker.php
@@ -1964,7 +1964,7 @@
19651965 public function tooltip( $name, $options = null ) {
19661966 global $wgEnableTooltipsAndAccesskeys;
19671967 if ($wgEnableTooltipsAndAccesskeys)
1968 - return array();
 1968+ return '';
19691969 # FIXME: If Sanitizer::expandAttributes() treated "false" as "output
19701970 # no attribute" instead of "output '' as value for attribute", this
19711971 # would be two lines.

Comments

#Comment by Tim Starling (talk | contribs)   00:03, 2 December 2009

Merged from r56174

Status & tagging log