r66516 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66515‎ | r66516 | r66517 >
Date:08:26, 16 May 2010
Author:siebrand
Status:ok
Tags:
Comment:
Fix for r66504 per Nikerabbit's CR. Actually copy-paste and not adjust issue.
Modified paths:
  • /trunk/phase3/includes/Xml.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Xml.php
@@ -280,7 +280,7 @@
281281 $attributes['size'] = $size;
282282 }
283283
284 - if( $size ) {
 284+ if( $value ) {
285285 $attributes['value'] = $value;
286286 }
287287

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66504HTML5 fix: Bad value for attribute size on element input: The empty string is...siebrand23:57, 15 May 2010

Status & tagging log