Fix for r66504 per Nikerabbit's CR. Actually copy-paste and not adjust issue.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 16 May 2010 08:26:14 +0000 (08:26 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 16 May 2010 08:26:14 +0000 (08:26 +0000)
includes/Xml.php

index 5e28c15..a20c6ca 100644 (file)
@@ -280,7 +280,7 @@ class Xml {
                        $attributes['size'] = $size;
                }
 
-               if( $size ) {
+               if( $value ) {
                        $attributes['value'] = $value;
                }