Last modified: 2006-04-18 20:58:39 UTC
In the function wfElement( $element, $attribs = null, $contents = '') in includes/XmlFunctions.php incorrectly checks if the content is empty: if( $contents == '' ) { It should be ===, otherwise when $content is integer 0, that line gives a false positive.