Index: trunk/phase3/includes/Xml.php |
— | — | @@ -794,7 +794,7 @@ |
795 | 795 | $s = Xml::openElement( 'table', $attribs ); |
796 | 796 | |
797 | 797 | if ( is_array( $headers ) ) { |
798 | | - $s = Xml::openElement( 'thead', $attribs ); |
| 798 | + $s .= Xml::openElement( 'thead', $attribs ); |
799 | 799 | |
800 | 800 | foreach( $headers as $id => $header ) { |
801 | 801 | $attribs = array(); |
— | — | @@ -805,7 +805,7 @@ |
806 | 806 | |
807 | 807 | $s .= Xml::element( 'th', $attribs, $header ); |
808 | 808 | } |
809 | | - $s = Xml::closeElement( 'thead' ); |
| 809 | + $s .= Xml::closeElement( 'thead' ); |
810 | 810 | } |
811 | 811 | |
812 | 812 | foreach( $rows as $id => $row ) { |