Index: trunk/phase3/includes/Xml.php |
— | — | @@ -280,7 +280,7 @@ |
281 | 281 | $attributes['size'] = $size; |
282 | 282 | } |
283 | 283 | |
284 | | - if( $value ) { |
| 284 | + if( $value !== false ) { // maybe 0 |
285 | 285 | $attributes['value'] = $value; |
286 | 286 | } |
287 | 287 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -189,6 +189,7 @@ |
190 | 190 | the $noRedir parameter is set to true |
191 | 191 | * (bug 23688) Correct mime types for Office 2007 OpenXML documents. |
192 | 192 | * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php |
| 193 | +* (bug 23797) Xml::input() now allows '0' for the value parameter |
193 | 194 | |
194 | 195 | === API changes in 1.17 === |
195 | 196 | * (bug 22738) Allow filtering by action type on query=logevent. |