Index: trunk/phase3/includes/Html.php |
— | — | @@ -347,7 +347,7 @@ |
348 | 348 | if ( $type != 'text' ) { |
349 | 349 | $attribs['type'] = $type; |
350 | 350 | } |
351 | | - if ( $value !== null ) { |
| 351 | + if ( $value !== null && $value !== '' ) { |
352 | 352 | $attribs['value'] = $value; |
353 | 353 | } |
354 | 354 | $attribs['name'] = $name; |